|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.server.discovery.DiscoveryComm
Constructor Summary | |
DiscoveryComm(DiscoveryManager dm)
|
Method Summary | |
DiscEvent |
createNotifMessage(java.lang.String state)
|
void |
run()
|
void |
sendNotif(DiscEvent msg)
sends a notification message to the server group. |
void |
stop()
sends a notification message to notify that the server is stopping. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DiscoveryComm(DiscoveryManager dm)
Method Detail |
public void sendNotif(DiscEvent msg)
public DiscEvent createNotifMessage(java.lang.String state) throws java.lang.Exception
state
- takes either RUNNING or STOPPING values in the case of a
notification service, depending on the server state.
java.lang.Exception
- is thrown if the jmx service is not reached.public void run()
run
in interface java.lang.Runnable
Runnable.run()
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |