public interface NetInterfaceAddress
Modifier and Type | Method and Description |
---|---|
IPAddress |
getAddress()
Returns an InetAddress for this address.
|
IPAddress |
getBroadcast()
Returns an InetAddress for the broadcast address for this InterfaceAddress.
|
List<? extends IPAddress> |
getDnsServers()
Gets the list of DNS servers associated with this interface
|
IPAddress |
getGateway()
Returns the InetAddress for the gateway.
|
IPAddress |
getNetmask()
Returns the network mask for this address
Typical IPv4 values would be 255.0.0.0, 255.255.0.0 or 255.255.255.0.
|
short |
getNetworkPrefixLength()
Returns the network prefix length for this address.
|
IPAddress getAddress()
short getNetworkPrefixLength()
IPAddress getNetmask()
IPAddress getGateway()
IPAddress getBroadcast()
Copyright © 2013. All Rights Reserved.