cz.cuni.pogamut.remote
Interface RemoteAgent

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RemoteAgentWrapper

public interface RemoteAgent
extends java.rmi.Remote

Wrapper that exposes some operations on agent via RMI.


Method Summary
 void addIterationEndListener(AgentIterationEndListener listener)
           
 CommunicationState getCommunicationState()
           
 IntrospectableProxy getIntrospectableProxy()
           
 Self getSelf()
           
 boolean removeIterationEndListener(AgentIterationEndListener listener)
           
 void sendMessageToGB(java.lang.String command)
           
 

Method Detail

getSelf

Self getSelf()
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendMessageToGB

void sendMessageToGB(java.lang.String command)
                     throws java.rmi.RemoteException,
                            CantWriteException
Throws:
java.rmi.RemoteException
CantWriteException

getIntrospectableProxy

IntrospectableProxy getIntrospectableProxy()
                                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addIterationEndListener

void addIterationEndListener(AgentIterationEndListener listener)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeIterationEndListener

boolean removeIterationEndListener(AgentIterationEndListener listener)
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCommunicationState

CommunicationState getCommunicationState()
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException