|
JmDNS 3.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.jmdns.impl.NetworkTopologyDiscoveryImpl
public class NetworkTopologyDiscoveryImpl
This class implements NetworkTopologyDiscovery.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jmdns.NetworkTopologyDiscovery |
|---|
NetworkTopologyDiscovery.Factory |
| Constructor Summary | |
|---|---|
NetworkTopologyDiscoveryImpl()
|
|
| Method Summary | |
|---|---|
InetAddress[] |
getInetAddresses()
Get all local Internet Addresses for the machine. |
void |
lockInetAddress(InetAddress interfaceAddress)
Locks the given InetAddress if the device requires it. |
void |
unlockInetAddress(InetAddress interfaceAddress)
Locks the given InetAddress if the device requires it. |
boolean |
useInetAddress(NetworkInterface networkInterface,
InetAddress interfaceAddress)
Check if a given InetAddress should be used for mDNS |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkTopologyDiscoveryImpl()
| Method Detail |
|---|
public InetAddress[] getInetAddresses()
NetworkTopologyDiscovery
getInetAddresses in interface NetworkTopologyDiscovery
public boolean useInetAddress(NetworkInterface networkInterface,
InetAddress interfaceAddress)
NetworkTopologyDiscovery
useInetAddress in interface NetworkTopologyDiscoverytrue is the address is to be used, false otherwise.public void lockInetAddress(InetAddress interfaceAddress)
NetworkTopologyDiscovery
lockInetAddress in interface NetworkTopologyDiscoverypublic void unlockInetAddress(InetAddress interfaceAddress)
NetworkTopologyDiscovery
unlockInetAddress in interface NetworkTopologyDiscovery
|
Last updated 2011-08-25 12:40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||