public abstract class IPNetworkDetectionNotCLDC extends IPNetworkDetection
| Modifier and Type | Field and Description |
|---|---|
protected org.ws4d.java.communication.connection.ip.IPNetworkDetectionNotCLDC.PlatformIPNetworkDetectionUpdater |
updater |
ANY_LOCAL_V4_ADDRESS, ANY_LOCAL_V6_ADDRESS, IPv4, ipv4Address2InterfaceList, ipv4Addresses, ipv4AddressesNotUseableButInBinding, ipv4DiscoveryDomains, ipv4discoveryDomainsNotUseableButInBinding, IPv4LoopbackAddress, IPv6, ipv6Address2InterfaceList, ipv6Addresses, ipv6AddressesNotUseableButInBinding, ipv6DiscoveryDomains, ipv6discoveryDomainsNotUseableButInBinding, networkChangeListener, networkinterfaces| Constructor and Description |
|---|
IPNetworkDetectionNotCLDC() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNewInterface(NetworkInterface newIface) |
protected abstract NetworkInterface |
createNetworkInterface(java.net.NetworkInterface niSE) |
protected NetworkInterface |
createNetworkInterfaceWithIPAddresses(java.net.NetworkInterface niSE) |
java.lang.String |
getCanonicalAddress(java.lang.String address)
This method returns the canonical form of the supplied
address. |
void |
refreshNetworkInterfaces() |
void |
startRefreshNetworkInterfacesThread() |
protected abstract void |
startRefreshNetworkInterfacesThreadInternal() |
void |
stopRefreshNetworkInterfacesThread() |
protected abstract void |
stopRefreshNetworkInterfacesThreadInternal() |
addNetworkChangeListener, checkInitiatedAddresses, checkInitiatedInterfaces, checkInitiatedIPDomains, getAddress, getAddressesForInterface, getAllAddresses, getAllAddresses, getAllAddressesForInterface, getAllAvailableDiscoveryDomains, getAllAvailableDiscoveryDomainsSize, getAssignedIPAddressForInterface, getAvailableDiscoveryDomains, getAvailableDiscoveryDomainsForInterfaces, getInstance, getIPAddressOfAnyLocalInterface, getIPAddressOfAnyLocalInterface, getIPDiscoveryDomainForInterface, getIPv4Addresses, getIPv4Addresses, getIPv6Addresses, getIPv6Addresses, getNetworkInterface, getNetworkInterfaceNames, getNetworkInterfaces, getNetworkInterfacesCount, getNetworkInterfacesForAddress, hasIPAddress, prepareMaps, putAddress, removeAddress, removeNetworkChangeListenerprotected org.ws4d.java.communication.connection.ip.IPNetworkDetectionNotCLDC.PlatformIPNetworkDetectionUpdater updater
public java.lang.String getCanonicalAddress(java.lang.String address)
IPNetworkDetectionaddress.getCanonicalAddress in class IPNetworkDetectionaddress - either an IPv4, IPv6 address or a DNS nameaddress, usually an IP addresspublic void refreshNetworkInterfaces()
throws java.io.IOException
refreshNetworkInterfaces in class IPNetworkDetectionjava.io.IOExceptionprotected void addNewInterface(NetworkInterface newIface)
protected NetworkInterface createNetworkInterfaceWithIPAddresses(java.net.NetworkInterface niSE) throws java.io.IOException
java.io.IOExceptionprotected abstract NetworkInterface createNetworkInterface(java.net.NetworkInterface niSE) throws java.io.IOException
java.io.IOExceptionpublic void startRefreshNetworkInterfacesThread()
startRefreshNetworkInterfacesThread in class IPNetworkDetectionpublic void stopRefreshNetworkInterfacesThread()
stopRefreshNetworkInterfacesThread in class IPNetworkDetectionprotected abstract void startRefreshNetworkInterfacesThreadInternal()
protected abstract void stopRefreshNetworkInterfacesThreadInternal()