public interface NetInterface<T extends NetInterfaceAddress>
Modifier and Type | Method and Description |
---|---|
String |
getDriver()
The driver handling the device.
|
String |
getDriverVersion()
The version of the driver handling the device.
|
String |
getFirmwareVersion()
The firmware version for the device.
|
byte[] |
getHardwareAddress()
Returns the hardware address (usually MAC) of the interface if it has one.
|
int |
getMTU()
Returns the Maximum Transmission Unit (MTU) of this interface
- Design speed of the device, in megabits/second (Mb/s).
|
String |
getName()
Returns the name of this NetworkInterface.
|
List<T> |
getNetInterfaceAddresses()
Returns a List of all InterfaceAddresses of this network interface.
|
NetInterfaceState |
getState()
The current state of the device.
|
NetInterfaceType |
getType()
Returns the type of this NetworkInterface.
|
UsbDevice |
getUsbDevice()
Returns the UsbDevice which provided this NetworkInterface to the system if any.
|
boolean |
isAutoConnect()
Returns whether a network interface will auto connect.
|
boolean |
isLoopback()
Returns whether a network interface is a loopback interface.
|
boolean |
isPointToPoint()
Returns whether a network interface is a point to point interface.
|
boolean |
isUp()
Returns whether a network interface is up and running.
|
boolean |
isVirtual()
Returns whether this interface is a virtual interface (also called subinterface).
|
boolean |
supportsMulticast()
Returns whether a network interface supports multicasting or not.
|
String getName()
NetInterfaceType getType()
String getDriver()
String getDriverVersion()
String getFirmwareVersion()
NetInterfaceState getState()
byte[] getHardwareAddress()
List<T> getNetInterfaceAddresses()
boolean isLoopback()
boolean isPointToPoint()
boolean isVirtual()
boolean supportsMulticast()
boolean isUp()
boolean isAutoConnect()
int getMTU()
UsbDevice getUsbDevice()
Copyright © 2013. All Rights Reserved.