|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasco.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 |
getRemoteAsyncResult(Host host,
long taskid)
|
java.lang.Object |
handle(org.jgroups.Message msg)
|
static void |
init()
initializes this manager instance |
static boolean |
initialized()
|
ObjectFutureWrapper |
invokeRemoteASynchronous(DistributedAdviceExecution adviceExecution)
|
java.lang.Object |
invokeRemoteOn(Host host,
DistributedAdviceExecution adviceExecution,
int message)
|
java.lang.Object |
invokeRemoteSynchronous(DistributedAdviceExecution 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(DistributedAdviceExecution adviceExecution)
public java.lang.Object getRemoteAsyncResult(Host host, long taskid)
public java.lang.Object invokeRemoteOn(Host host, DistributedAdviceExecution adviceExecution, int message)
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()
public ObjectFutureWrapper invokeRemoteASynchronous(DistributedAdviceExecution adviceExecution)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |