nl.tudelft.goal.ut2004.visualizer.connection
Class EnvironmentServiceMediator

Package class diagram package EnvironmentServiceMediator
java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by nl.tudelft.goal.ut2004.visualizer.connection.EnvironmentServiceMediator
Type Parameters:
VisualizerClientListener -
All Implemented Interfaces:
Serializable, Remote, EnvironmentService

public final class EnvironmentServiceMediator
extends UnicastRemoteObject
implements EnvironmentService

Acts as a client for the visualizer. Mediates the interaction between the actual client and the visualizer by providing listeners.

Author:
M.P. Korstanje
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
EnvironmentServiceMediator(cz.cuni.amis.pogamut.base.agent.IAgentId id)
           
 
Method Summary
 void addBot(AddBotCommand parameters)
           
 cz.cuni.amis.pogamut.base.agent.IAgentId getAgentId()
           
 void removeListener()
           
 void setListener(EnvironmentServiceListener listener)
           
 String toString()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvironmentServiceMediator

public EnvironmentServiceMediator(cz.cuni.amis.pogamut.base.agent.IAgentId id)
                           throws RemoteException
Throws:
RemoteException
Method Detail

setListener

public void setListener(EnvironmentServiceListener listener)

removeListener

public void removeListener()

addBot

public void addBot(AddBotCommand parameters)
            throws RemoteException,
                   eis.exceptions.ManagementException
Specified by:
addBot in interface EnvironmentService
Throws:
RemoteException
eis.exceptions.ManagementException

getAgentId

public cz.cuni.amis.pogamut.base.agent.IAgentId getAgentId()
                                                    throws RemoteException
Specified by:
getAgentId in interface EnvironmentService
Throws:
RemoteException

toString

public String toString()
Overrides:
toString in class RemoteObject


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.