|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgroups.stack.Protocol
org.jgroups.stack.MessageProtocol
org.jgroups.stack.RpcProtocol
Base class for group RMC peer protocols.
Field Summary |
Fields inherited from class org.jgroups.stack.MessageProtocol |
_corr, members |
Fields inherited from class org.jgroups.stack.Protocol |
down_handler, down_prot, down_queue, down_thread, down_thread_prio, observer, props, stack, up_handler, up_prot, up_queue, up_thread, up_thread_prio |
Constructor Summary | |
RpcProtocol()
|
Method Summary | |
java.lang.Object |
callRemoteMethod(Address dest,
MethodCall method_call,
int mode,
long timeout)
|
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
int mode,
long timeout)
|
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
java.lang.Object[] args,
java.lang.Class[] types,
int mode,
long timeout)
|
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
java.lang.Object[] args,
java.lang.String[] signature,
int mode,
long timeout)
|
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
java.lang.Object arg1,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
java.lang.Object arg4,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
java.lang.Object |
callRemoteMethod(Address dest,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
java.lang.Object arg4,
java.lang.Object arg5,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
RspList |
callRemoteMethods(java.util.Vector dests,
MethodCall method_call,
int mode,
long timeout)
|
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
java.lang.Object[] args,
java.lang.Class[] types,
int mode,
long timeout)
|
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
java.lang.Object[] args,
java.lang.String[] signature,
int mode,
long timeout)
|
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
java.lang.Object arg1,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
java.lang.Object arg4,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
RspList |
callRemoteMethods(java.util.Vector dests,
java.lang.String method_name,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
java.lang.Object arg4,
java.lang.Object arg5,
int mode,
long timeout)
Deprecated. this method results in an invalid method call if the argument is null |
java.lang.String |
getName()
|
java.lang.Object |
handle(Message req)
Message contains MethodCall. |
boolean |
handleDownEvent(Event evt)
Handle down event. |
boolean |
handleUpEvent(Event evt)
Handle up event. |
Methods inherited from class org.jgroups.stack.MessageProtocol |
castMessage, down, sendMessage, start, stop, up, updateView |
Methods inherited from class org.jgroups.stack.Protocol |
destroy, getDownProtocol, getDownQueue, getProperties, getUpProtocol, getUpQueue, init, passDown, passUp, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, setDownProtocol, setObserver, setProperties, setPropertiesInternal, setProtocolStack, setUpProtocol, startDownHandler, startUpHandler, stopInternal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RpcProtocol()
Method Detail |
public java.lang.String getName()
getName
in class Protocol
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, int mode, long timeout)
callRemoteMethods(Vector,MethodCall,int,long)
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, java.lang.Object arg1, int mode, long timeout)
callRemoteMethods(Vector,MethodCall,int,long)
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, int mode, long timeout)
callRemoteMethods(Vector,MethodCall,int,long)
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, int mode, long timeout)
callRemoteMethods(Vector,MethodCall,int,long)
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4, int mode, long timeout)
callRemoteMethods(Vector,MethodCall,int,long)
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4, java.lang.Object arg5, int mode, long timeout)
callRemoteMethods(Vector,MethodCall,int,long)
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, java.lang.Object[] args, java.lang.Class[] types, int mode, long timeout)
public RspList callRemoteMethods(java.util.Vector dests, java.lang.String method_name, java.lang.Object[] args, java.lang.String[] signature, int mode, long timeout)
public RspList callRemoteMethods(java.util.Vector dests, MethodCall method_call, int mode, long timeout)
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, java.lang.Object arg1, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
callRemoteMethod(Address,MethodCall,int,long)
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
callRemoteMethod(Address,MethodCall,int,long)
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
callRemoteMethod(Address,MethodCall,int,long)
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
callRemoteMethod(Address,MethodCall,int,long)
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4, java.lang.Object arg5, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
callRemoteMethod(Address,MethodCall,int,long)
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, java.lang.Object[] args, java.lang.Class[] types, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
public java.lang.Object callRemoteMethod(Address dest, java.lang.String method_name, java.lang.Object[] args, java.lang.String[] signature, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
public java.lang.Object callRemoteMethod(Address dest, MethodCall method_call, int mode, long timeout) throws TimeoutException, SuspectedException
TimeoutException
SuspectedException
public java.lang.Object handle(Message req)
handle
in interface RequestHandler
handle
in class MessageProtocol
public boolean handleUpEvent(Event evt)
handleUpEvent
in class MessageProtocol
public boolean handleDownEvent(Event evt)
handleDownEvent
in class MessageProtocol
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |