org.ow2.jonas.discovery.internal.client
Class DiscoveryClientListener
java.lang.Object
org.ow2.jonas.discovery.internal.client.DiscoveryClientListener
- All Implemented Interfaces:
- Runnable
public class DiscoveryClientListener
- extends Object
- implements Runnable
- Version:
- 1.0
- Author:
- Takoua Abdellatif , Adriana Danes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISCOVERY_TYPE
public static final String DISCOVERY_TYPE
- Management notification type for discovery events
- See Also:
- Constant Field Values
DiscoveryClientListener
public DiscoveryClientListener(DiscoveryClient discoveryClient)
- Constructs a DiscoveryClientListener associated with a DiscoveryClient
- Parameters:
discoveryClient
- DiscoveryClient to which this thread is associated
sendDiscoveryMessage
public void sendDiscoveryMessage(DiscMessage msg)
- Sends a discovery message to the server group.
run
public void run()
- Specified by:
run
in interface Runnable
- See Also:
Runnable.run()
getDatagram
protected DatagramPacket getDatagram(int length)
stop
public void stop()
- Stops the current thread
Copyright © 2010 OW2 Consortium. All Rights Reserved.