Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jgroups.stack.Protocol
org.jgroups.stack.MessageProtocol
org.jgroups.stack.RpcProtocol
public class RpcProtocol
extends MessageProtocol
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 , log , observer , props , stack , up_handler , up_prot , up_queue , up_thread , up_thread_prio |
Method Summary | |
Object |
|
Object |
|
Object |
|
Object |
|
RspList |
|
RspList |
|
RspList |
|
String |
|
Object | |
boolean |
|
boolean |
|
Methods inherited from class org.jgroups.stack.MessageProtocol | |
castMessage , down , handle , handleDownEvent , handleUpEvent , sendMessage , start , stop , up , updateView |
Methods inherited from class org.jgroups.stack.Protocol | |
destroy , down , getDownProtocol , getDownQueue , getName , getProperties , getUpProtocol , getUpQueue , handleSpecialDownEvent , init , passDown , passUp , providedDownServices , providedUpServices , receiveDownEvent , receiveUpEvent , requiredDownServices , requiredUpServices , setDownProtocol , setObserver , setProperties , setPropertiesInternal , setProtocolStack , setUpProtocol , start , startDownHandler , startUpHandler , stop , stopInternal , up |
public Object callRemoteMethod(Address dest, String method_name, Object[] args, Class[] types, int mode, long timeout) throws TimeoutException, SuspectedException
public Object callRemoteMethod(Address dest, String method_name, Object[] args, String[] signature, int mode, long timeout) throws TimeoutException, SuspectedException
public Object callRemoteMethod(Address dest, String method_name, int mode, long timeout) throws TimeoutException, SuspectedException
public Object callRemoteMethod(Address dest, MethodCall method_call, int mode, long timeout) throws TimeoutException, SuspectedException
public RspList callRemoteMethods(Vector dests, String method_name, Object[] args, Class[] types, int mode, long timeout)
public RspList callRemoteMethods(Vector dests, String method_name, Object[] args, String[] signature, int mode, long timeout)
public RspList callRemoteMethods(Vector dests, MethodCall method_call, int mode, long timeout)
public Object handle(Message req)
Message contains MethodCall. Execute it against *this* object and return result. Use MethodCall.invoke() to do this. Return result.
- Specified by:
- handle in interface RequestHandler
- Overrides:
- handle in interface MessageProtocol
public boolean handleDownEvent(Event evt)
Handle down event. Return false if it should not be passed down the stack.
- Overrides:
- handleDownEvent in interface MessageProtocol
public boolean handleUpEvent(Event evt)
Handle up event. Return false if it should not be passed up the stack.
- Overrides:
- handleUpEvent in interface MessageProtocol