|
|||||||||
| 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 | |
|---|---|
java.net.InetAddress[] |
getInetAddresses()
Get all local Internet Addresses for the machine. |
boolean |
useInetAddress(java.net.NetworkInterface networkInterface,
java.net.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 java.net.InetAddress[] getInetAddresses()
NetworkTopologyDiscovery
getInetAddresses in interface NetworkTopologyDiscovery
public boolean useInetAddress(java.net.NetworkInterface networkInterface,
java.net.InetAddress interfaceAddress)
NetworkTopologyDiscovery
useInetAddress in interface NetworkTopologyDiscoverytrue is the address is to be used, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||