Public Member Functions | Private Attributes | Static Private Attributes
javax.jmdns.impl.NetworkTopologyDiscoveryImpl Class Reference
Inheritance diagram for javax.jmdns.impl.NetworkTopologyDiscoveryImpl:
Inheritance graph
[legend]

List of all members.

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())

Detailed Description

This class implements NetworkTopologyDiscovery.

Author:
Pierre Frisch

Definition at line 23 of file NetworkTopologyDiscoveryImpl.java.


Constructor & Destructor Documentation

Definition at line 33 of file NetworkTopologyDiscoveryImpl.java.


Member Function Documentation

Get all local Internet Addresses for the machine.

Returns:
Set of InetAddress

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.

Parameters:
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.

Parameters:
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

Parameters:
networkInterface
interfaceAddress
Returns:
true is the address is to be used, false otherwise.

Implements javax.jmdns.NetworkTopologyDiscovery.

Definition at line 85 of file NetworkTopologyDiscoveryImpl.java.


Member Data Documentation

Definition at line 26 of file NetworkTopologyDiscoveryImpl.java.

Definition at line 28 of file NetworkTopologyDiscoveryImpl.java.

Definition at line 24 of file NetworkTopologyDiscoveryImpl.java.


The documentation for this class was generated from the following file:


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27