|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionInfo
Interface for network interface 'connection info'. At runtime an interface may be associated with gateways or DNS but the interface itself may not be active. If this is the case the ConnectionInfo class is used to keep all relevant information in the event that this interface should become the active one. This is necessary because many operating systems to not persist this information.
Method Summary | |
---|---|
List<IP4Address> |
getDnsServers()
Gets the DNS addresses associated with this interface |
IP4Address |
getGateway()
Gets the gateway address associated with this interface |
String |
getIfaceName()
Gets the interface name associated with this connection information |
IP4Address |
getIpAddress()
Reports IP address |
Method Detail |
---|
IP4Address getGateway()
List<IP4Address> getDnsServers()
String getIfaceName()
IP4Address getIpAddress()
IP4Address
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |