com.eurotech.framework.core.net
Class EthernetInterfaceImpl<T extends NetInterfaceAddress>
java.lang.Object
com.eurotech.framework.core.net.AbstractNetInterface<T>
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>
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 interface com.eurotech.framework.net.NetInterface |
getDriver, getDriverVersion, getFirmwareVersion, getHardwareAddress, getMTU, getName, getNetInterfaceAddresses, getState, getUsbDevice, isAutoConnect, isLoopback, isPointToPoint, isUp, isVirtual, supportsMulticast |
EthernetInterfaceImpl
public EthernetInterfaceImpl(String name)
EthernetInterfaceImpl
public EthernetInterfaceImpl(EthernetInterface<? extends NetInterfaceAddress> other)
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.