| java.lang.Object java.lang.Thread org.jgroups.stack.UpHandler org.jgroups.stack.MessageProtocol org.jgroups.stack.RpcProtocol
All known Subclasses: org.jgroups.protocols.GMS, org.jgroups.protocols.FLUSH, org.jgroups.protocols.STABLE, org.jgroups.protocols.TOTAL_TOKEN, org.jgroups.protocols.RpcProtocolEXAMPLE,
RpcProtocol | public class RpcProtocol extends MessageProtocol (Code) | | Base class for group RMC peer protocols.
author: Bela Ban |
Method Summary | |
public Object | callRemoteMethod(Address dest, String method_name, int mode, long timeout) | public Object | callRemoteMethod(Address dest, String method_name, Object[] args, Class[] types, int mode, long timeout) | public Object | callRemoteMethod(Address dest, String method_name, Object[] args, String[] signature, int mode, long timeout) | public Object | callRemoteMethod(Address dest, MethodCall method_call, int mode, long timeout) | 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 String | getName() | public Object | handle(Message req) Message contains MethodCall. | public boolean | handleDownEvent(Event evt) Handle down event. | public boolean | handleUpEvent(Event evt) Handle up event. |
handle | public Object handle(Message req)(Code) | | Message contains MethodCall. Execute it against *this* object and return result.
Use MethodCall.invoke() to do this. Return result.
|
handleDownEvent | public boolean handleDownEvent(Event evt)(Code) | | Handle down event. Return false if it should not be passed down the stack.
|
handleUpEvent | public boolean handleUpEvent(Event evt)(Code) | | Handle up event. Return false if it should not be passed up the stack.
|
Fields inherited from org.jgroups.stack.UpHandler | final protected Log log(Code)(Java Doc)
|
|
|