com.eurotech.framework.core.net
Class EthernetInterfaceImpl<T extends NetInterfaceAddress>

java.lang.Object
  extended by com.eurotech.framework.core.net.AbstractNetInterface<T>
      extended by com.eurotech.framework.core.net.EthernetInterfaceImpl<T>
All Implemented Interfaces:
EthernetInterface<T>, NetInterface<T>
Direct Known Subclasses:
EthernetInterfaceConfigImpl

public class EthernetInterfaceImpl<T extends NetInterfaceAddress>
extends AbstractNetInterface<T>
implements EthernetInterface<T>


Constructor Summary
EthernetInterfaceImpl(EthernetInterface<? extends NetInterfaceAddress> other)
           
EthernetInterfaceImpl(String name)
           
 
Method Summary
 NetInterfaceType getType()
          Returns the type of this NetworkInterface.
 boolean isLinkUp()
          Indicates whether the physical carrier is found (e.g.
 void setLinkUp(boolean linkUp)
           
 String toString()
           
 
Methods inherited from class com.eurotech.framework.core.net.AbstractNetInterface
getDriver, getDriverVersion, getFirmwareVersion, getHardwareAddress, getMTU, getName, getNetInterfaceAddresses, getState, getUsbDevice, isAutoConnect, isLoopback, isPointToPoint, isUp, isVirtual, setAutoConnect, setDriver, setDriverVersion, setFirmwareVersion, setHardwareAddress, setLoopback, setMTU, setName, setNetInterfaceAddresses, setPointToPoint, setState, setSupportsMulticast, setUp, setUsbDevice, setVirtual, supportsMulticast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.eurotech.framework.net.NetInterface
getDriver, getDriverVersion, getFirmwareVersion, getHardwareAddress, getMTU, getName, getNetInterfaceAddresses, getState, getUsbDevice, isAutoConnect, isLoopback, isPointToPoint, isUp, isVirtual, supportsMulticast
 

Constructor Detail

EthernetInterfaceImpl

public EthernetInterfaceImpl(String name)

EthernetInterfaceImpl

public EthernetInterfaceImpl(EthernetInterface<? extends NetInterfaceAddress> other)
Method Detail

getType

public NetInterfaceType getType()
Description copied from interface: NetInterface
Returns the type of this NetworkInterface.

Specified by:
getType in interface NetInterface<T extends NetInterfaceAddress>
Returns:
interface type

isLinkUp

public boolean isLinkUp()
Description copied from interface: EthernetInterface
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).

Specified by:
isLinkUp in interface EthernetInterface<T extends NetInterfaceAddress>
Returns:

setLinkUp

public void setLinkUp(boolean linkUp)

toString

public String toString()
Overrides:
toString in class AbstractNetInterface<T extends NetInterfaceAddress>


Copyright © 2013. All Rights Reserved.