Public Member Functions | |
DiscoveryComm (DiscoveryManager dm) | |
void | sendNotif (DiscEvent msg) |
DiscEvent | createNotifMessage (String state) throws Exception |
void | run () |
void | stop () |
Protected Member Functions | |
void | setJonasName (String jonasName) |
void | setDomainName (String domainName) |
void | setUrls (String[] urls) |
Definition at line 45 of file DiscoveryComm.java.
|
Constructs a DiscoveryComm associated to the DiscoveryManager
Definition at line 88 of file DiscoveryComm.java. References org.objectweb.jonas.discovery.DiscoveryManager.getListeningIp(), org.objectweb.jonas.discovery.DiscoveryManager.getListeningPort(), org.objectweb.jonas.discovery.DiscoveryManager.getTimeToLive(), and org.objectweb.jonas.discovery.DiscoveryManager.ttl. |
Here is the call graph for this function:
|
Create a discovery event to notify about a state change of the event sender
Definition at line 171 of file DiscoveryComm.java. References org.objectweb.jonas.discovery.DiscEvent.setState(). Referenced by org.objectweb.jonas.discovery.DiscoveryComm.run(), and org.objectweb.jonas.discovery.DiscoveryComm.stop(). |
Here is the call graph for this function:
|
Definition at line 195 of file DiscoveryComm.java. References org.objectweb.jonas.discovery.DiscoveryComm.createNotifMessage(), org.objectweb.jonas.discovery.DiscMessage.getSourceAddress(), org.objectweb.jonas.discovery.DiscMessage.getSourcePort(), and org.objectweb.jonas.discovery.DiscoveryComm.sendNotif(). |
Here is the call graph for this function:
|
sends (multicasts) a DiscoveryEvent to the group. Definition at line 124 of file DiscoveryComm.java. Referenced by org.objectweb.jonas.discovery.DiscoveryComm.run(), and org.objectweb.jonas.discovery.DiscoveryComm.stop(). |
|
Definition at line 303 of file DiscoveryComm.java. References org.objectweb.jonas.discovery.DiscEvent.domainName. Referenced by org.objectweb.jonas.discovery.DiscoveryManager.start(). |
|
Definition at line 297 of file DiscoveryComm.java. Referenced by org.objectweb.jonas.discovery.DiscoveryManager.start(). |
|
Definition at line 309 of file DiscoveryComm.java. References org.objectweb.jonas.discovery.DiscEvent.urls. Referenced by org.objectweb.jonas.discovery.DiscoveryManager.start(). |
|
sends a notification message to notify that the server is stopping. Definition at line 280 of file DiscoveryComm.java. References org.objectweb.jonas.discovery.DiscoveryComm.createNotifMessage(), and org.objectweb.jonas.discovery.DiscoveryComm.sendNotif(). Referenced by org.objectweb.jonas.discovery.DiscoveryManager.handleNotification(), org.objectweb.jonas.discovery.DiscoveryManager.preDeregister(), and org.objectweb.jonas.discovery.DiscoveryManager.stop(). |
Here is the call graph for this function: