|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjasco.runtime.distribution.DistributePointcutHandler
public class DistributePointcutHandler
This singleton class manages the comunication of the Jasco joinpoint(methodsInvocations) events with the group of instances that belongs to the same group.
Method Summary | |
---|---|
void |
broadcastMessageAsync(DistributedStandardMessage jm)
Broad cast a message and do not care bout the answers |
org.jgroups.util.RspList |
broadcastMessageFirstAnswer(DistributedStandardMessage jm)
Broad cast a message and waits for the first answer |
org.jgroups.util.RspList |
broadcastMessageSync(DistributedStandardMessage jm)
Broad cast a message and waits for all the answers |
org.jgroups.Channel |
getChannel()
|
static DistributePointcutHandler |
getInstance()
|
java.lang.Object |
handle(org.jgroups.Message msg)
|
static void |
init()
initializes this manager instance |
static boolean |
initialized()
|
java.lang.Object |
invokeRemoteSynchronous(SynchronousAdviceExecution adviceExecution)
|
java.lang.Object |
invokeRemoteSynchronousOn(Host host,
SynchronousAdviceExecution adviceExecution)
|
java.lang.Object |
receiveNotification(JascoMethod jm)
This methods execute the trap to the remote pointcut. |
void |
sendNotification(DistributedJascoMethod jm)
|
java.lang.Object |
sendSyncMessage(DistributedStandardMessage jm,
Host host)
Send a synchronous Message to an specific host |
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 DistributePointcutHandler getInstance()
public void broadcastMessageAsync(DistributedStandardMessage jm)
public org.jgroups.util.RspList broadcastMessageSync(DistributedStandardMessage jm)
public org.jgroups.util.RspList broadcastMessageFirstAnswer(DistributedStandardMessage jm)
public java.lang.Object sendSyncMessage(DistributedStandardMessage jm, Host host)
public void sendNotification(DistributedJascoMethod jm)
public java.lang.Object invokeRemoteSynchronous(SynchronousAdviceExecution adviceExecution)
public java.lang.Object invokeRemoteSynchronousOn(Host host, SynchronousAdviceExecution adviceExecution)
public java.lang.Object receiveNotification(JascoMethod jm)
public java.lang.Object handle(org.jgroups.Message msg)
handle
in interface org.jgroups.blocks.RequestHandler
public static void init()
public static boolean initialized()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |