|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasco.runtime.distribution.DistributedConnectorHandler
public class DistributedConnectorHandler
This singleton class manages the comunication of the Jasco connector events with the group of instances that belongs to the same group.
Method Summary | |
---|---|
org.jgroups.Channel |
getChannel()
|
java.util.HashSet |
getConnSet()
|
static DistributedConnectorHandler |
getInstance()
|
java.lang.Object |
handle(org.jgroups.Message msg)
|
boolean |
isLocal(Connector c)
Return true if the connector is loaded in the local jasco runtime |
java.lang.Object |
receiveNotification(DistributedJascoMessage aMessage)
This methods is executed when a connector notification is received |
void |
sendNotification(DistributedJascoMessage dm)
|
void |
setConnSet(java.util.HashSet connSet)
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.jgroups.Channel getChannel()
public void start() throws java.lang.Exception
java.lang.Exception
public static DistributedConnectorHandler getInstance()
public void sendNotification(DistributedJascoMessage dm)
public java.lang.Object receiveNotification(DistributedJascoMessage aMessage)
public java.lang.Object handle(org.jgroups.Message msg)
handle
in interface org.jgroups.blocks.RequestHandler
public java.util.HashSet getConnSet()
public void setConnSet(java.util.HashSet connSet)
connSet
- The connSet to set.public boolean isLocal(Connector c)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |