JmDNS 3.4.1

javax.jmdns.impl
Class NetworkTopologyEventImpl

java.lang.Object
  extended by java.util.EventObject
      extended by javax.jmdns.NetworkTopologyEvent
          extended by javax.jmdns.impl.NetworkTopologyEventImpl
All Implemented Interfaces:
Serializable, Cloneable

public class NetworkTopologyEventImpl
extends NetworkTopologyEvent
implements Cloneable

Author:
Cédrik Lime, Pierre Frisch
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NetworkTopologyEventImpl(JmDNS jmDNS, InetAddress inetAddress)
          Constructs a Network Topology Event.
 
Method Summary
 NetworkTopologyEventImpl clone()
           
 JmDNS getDNS()
          Returns the JmDNS instance associated with the event or null if it is a generic event.
 InetAddress getInetAddress()
          The Internet address affected by this event.
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkTopologyEventImpl

public NetworkTopologyEventImpl(JmDNS jmDNS,
                                InetAddress inetAddress)
Constructs a Network Topology Event.

Parameters:
jmDNS -
inetAddress -
Throws:
IllegalArgumentException - if source is null.
Method Detail

getDNS

public JmDNS getDNS()
Description copied from class: NetworkTopologyEvent
Returns the JmDNS instance associated with the event or null if it is a generic event.

Specified by:
getDNS in class NetworkTopologyEvent
Returns:
JmDNS instance

getInetAddress

public InetAddress getInetAddress()
Description copied from class: NetworkTopologyEvent
The Internet address affected by this event.

Specified by:
getInetAddress in class NetworkTopologyEvent
Returns:
InetAddress

toString

public String toString()
Overrides:
toString in class EventObject

clone

public NetworkTopologyEventImpl clone()
                               throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

Last updated 2011-08-25 12:40

Copyright © 2002-2011 JmDNS. All Rights Reserved.