org.objectweb.jonas.discovery
Class DiscoveryClientListener

java.lang.Object
  extended byorg.objectweb.jonas.discovery.DiscoveryClientListener
All Implemented Interfaces:
java.lang.Runnable

public class DiscoveryClientListener
extends java.lang.Object
implements java.lang.Runnable

Version:
1.0
Author:
Takoua Abdellatif

Constructor Summary
DiscoveryClientListener(DiscoveryClient discoveryClient)
          Constructs a DiscoveryClientListener associated with a DiscoveryClient
 
Method Summary
 void run()
           
 void sendDiscoveryMessage(DiscMessage msg)
          Sends a discovery message to the server group.
 void stop()
          Stops the current thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryClientListener

public DiscoveryClientListener(DiscoveryClient discoveryClient)
Constructs a DiscoveryClientListener associated with a DiscoveryClient

Parameters:
discoveryClient - DiscoveryClient to which this thread is associated
Method Detail

sendDiscoveryMessage

public void sendDiscoveryMessage(DiscMessage msg)
Sends a discovery message to the server group.


run

public void run()
Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()

stop

public void stop()
Stops the current thread