kaos.core.util
Class MethodCallRequestHandler
java.lang.Object
kaos.core.util.MethodCallRequestHandler
- Direct Known Subclasses:
- ActionMethodRequestHandler, DSCoordinatorImpl
public abstract class MethodCallRequestHandler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_nickName
protected java.lang.String _nickName
_mts
protected MessageTransportService _mts
_locator
protected Locator _locator
_agentDescription
protected KAoSAgentDescription _agentDescription
_logger
protected Logger _logger
MethodCallRequestHandler
public MethodCallRequestHandler()
initialize
public void initialize(MessageTransportService mts,
JasBean entityEnv)
throws java.lang.Exception
- This method initializes the MethodCallRequestHandler to
receive messages from remote entities, using the entityEnv
to obtain its local locator.
Note that the entityEnv should also contain the agent's nickname,
if there is one, as the value of the key KAoSConstants.NAME
- Throws:
java.lang.Exception
bindToTransport
public void bindToTransport(KAoSAgentDescription desc)
throws java.lang.Exception
- Throws:
java.lang.Exception
receiveMessage
public void receiveMessage(TransportMessage msg)
satisfyRequest
protected MethodCallResultMsg satisfyRequest(MethodCallRequestMsg requestMsg)