cz.cuni.pogamut.remote
Class RemoteAgentWrapper
java.lang.Object
cz.cuni.pogamut.remote.RemoteAgentWrapper
- All Implemented Interfaces:
- RemoteAgent, java.rmi.Remote
public class RemoteAgentWrapper
- extends java.lang.Object
- implements RemoteAgent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agent
Agent agent
introspectableProxy
IntrospectableProxy introspectableProxy
listeners
java.util.Collection<AgentIterationEndListener> listeners
RemoteAgentWrapper
public RemoteAgentWrapper(Agent agent)
getSelf
public Self getSelf()
throws java.rmi.RemoteException
- Specified by:
getSelf
in interface RemoteAgent
- Throws:
java.rmi.RemoteException
sendMessageToGB
public void sendMessageToGB(java.lang.String command)
throws java.rmi.RemoteException,
CantWriteException
- Specified by:
sendMessageToGB
in interface RemoteAgent
- Throws:
java.rmi.RemoteException
CantWriteException
getIntrospectableProxy
public IntrospectableProxy getIntrospectableProxy()
throws java.rmi.RemoteException
- Specified by:
getIntrospectableProxy
in interface RemoteAgent
- Throws:
java.rmi.RemoteException
addIterationEndListener
public void addIterationEndListener(AgentIterationEndListener listener)
throws java.rmi.RemoteException
- Specified by:
addIterationEndListener
in interface RemoteAgent
- Throws:
java.rmi.RemoteException
removeIterationEndListener
public boolean removeIterationEndListener(AgentIterationEndListener listener)
throws java.rmi.RemoteException
- Specified by:
removeIterationEndListener
in interface RemoteAgent
- Throws:
java.rmi.RemoteException
registerListeners
private void registerListeners()
getCommunicationState
public CommunicationState getCommunicationState()
throws java.rmi.RemoteException
- Specified by:
getCommunicationState
in interface RemoteAgent
- Throws:
java.rmi.RemoteException