org.jgroups.stack
Class RpcProtocol
public
class
RpcProtocol
extends MessageProtocol
Base class for group RMC peer protocols.
Author: Bela Ban
Method Summary |
Object | callRemoteMethod(Address dest, String method_name, int mode, long timeout) |
Object | callRemoteMethod(Address dest, String method_name, Object[] args, Class[] types, int mode, long timeout) |
Object | callRemoteMethod(Address dest, String method_name, Object[] args, String[] signature, int mode, long timeout) |
Object | callRemoteMethod(Address dest, MethodCall method_call, int mode, long timeout) |
RspList | callRemoteMethods(Vector dests, String method_name, Object[] args, Class[] types, int mode, long timeout) |
RspList | callRemoteMethods(Vector dests, String method_name, Object[] args, String[] signature, int mode, long timeout) |
RspList | callRemoteMethods(Vector dests, MethodCall method_call, int mode, long timeout) |
String | getName() |
Object | handle(Message req)
Message contains MethodCall. |
boolean | handleDownEvent(Event evt)
Handle down event. |
boolean | handleUpEvent(Event evt)
Handle up event. |
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()
Message contains MethodCall. Execute it against *this* object and return result.
Use MethodCall.invoke() to do this. Return result.
public boolean handleDownEvent(
Event evt)
Handle down event. Return false if it should not be passed down the stack.
public boolean handleUpEvent(
Event evt)
Handle up event. Return false if it should not be passed up the stack.
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.