$search
Public Member Functions | |
InetAddress[] | getInetAddresses () |
void | lockInetAddress (InetAddress interfaceAddress) |
NetworkTopologyDiscoveryImpl () | |
void | unlockInetAddress (InetAddress interfaceAddress) |
boolean | useInetAddress (NetworkInterface networkInterface, InetAddress interfaceAddress) |
Private Attributes | |
final Method | _isUp |
final Method | _supportsMulticast |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(NetworkTopologyDiscoveryImpl.class.getName()) |
This class implements NetworkTopologyDiscovery.
Definition at line 23 of file NetworkTopologyDiscoveryImpl.java.
javax::jmdns::impl::NetworkTopologyDiscoveryImpl::NetworkTopologyDiscoveryImpl | ( | ) | [inline] |
Definition at line 33 of file NetworkTopologyDiscoveryImpl.java.
InetAddress [] javax::jmdns::impl::NetworkTopologyDiscoveryImpl::getInetAddresses | ( | ) | [inline, virtual] |
Get all local Internet Addresses for the machine.
Implements javax::jmdns::NetworkTopologyDiscovery.
Definition at line 58 of file NetworkTopologyDiscoveryImpl.java.
void javax::jmdns::impl::NetworkTopologyDiscoveryImpl::lockInetAddress | ( | InetAddress | interfaceAddress | ) | [inline] |
Locks the given InetAddress if the device requires it.
interfaceAddress |
Implements javax::jmdns::NetworkTopologyDiscovery.
Definition at line 119 of file NetworkTopologyDiscoveryImpl.java.
void javax::jmdns::impl::NetworkTopologyDiscoveryImpl::unlockInetAddress | ( | InetAddress | interfaceAddress | ) | [inline] |
Locks the given InetAddress if the device requires it.
interfaceAddress |
Implements javax::jmdns::NetworkTopologyDiscovery.
Definition at line 128 of file NetworkTopologyDiscoveryImpl.java.
boolean javax::jmdns::impl::NetworkTopologyDiscoveryImpl::useInetAddress | ( | NetworkInterface | networkInterface, | |
InetAddress | interfaceAddress | |||
) | [inline] |
Check if a given InetAddress should be used for mDNS
networkInterface | ||
interfaceAddress |
true
is the address is to be used, false
otherwise. Implements javax::jmdns::NetworkTopologyDiscovery.
Definition at line 85 of file NetworkTopologyDiscoveryImpl.java.
final Method javax::jmdns::impl::NetworkTopologyDiscoveryImpl::_isUp [private] |
Definition at line 26 of file NetworkTopologyDiscoveryImpl.java.
final Method javax::jmdns::impl::NetworkTopologyDiscoveryImpl::_supportsMulticast [private] |
Definition at line 28 of file NetworkTopologyDiscoveryImpl.java.
final Logger javax::jmdns::impl::NetworkTopologyDiscoveryImpl::logger = Logger.getLogger(NetworkTopologyDiscoveryImpl.class.getName()) [static, private] |
Definition at line 24 of file NetworkTopologyDiscoveryImpl.java.