agentland.software
Class MimioControlEHA

java.lang.Object
  |
  +--agentland.software.MimioControlEHA

public class MimioControlEHA
extends Object
implements ExceptionHandler, MimioControl, Agent


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
MimioControlEHA(MetagluePrimitives ap, AgentID agentID, Catalog c)
           
 
Method Summary
 void addMonitor(Spy param0)
          Add a log monitor that gets all the screen output.
 boolean alive()
           
 void exportBoardToImage()
           
 void exportBoardToImage(String param0)
           
 Agent getAgent()
          get the internal stub used.
 AgentID getAgentID()
           
 AgentID getAgtID()
          get the internal agentID used.
 AgentID getMetaglueAgentID()
           
 void hideWindow()
           
 void instantiate(Agent a)
           
 void newBoard()
           
 void printBoard()
           
 void replaceExceptionHandler(AgentExceptionHandler r)
           
 void saveBoard()
           
 void saveBoardAs()
           
 void saveBoardAs(String param0)
           
 void setAgent(Agent a)
          set the internal stub used to passed agent.
 void setAgtID(AgentID a)
          set the internal agentID used to passed agent.
 void showWindow()
           
 void shutdown()
           
 void startup()
           
 void tagBoard()
           
 void undo()
           
 InetAddress whereAreYou()
          Returns the InetAddress of the machine where the agent is running
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimioControlEHA

public MimioControlEHA(MetagluePrimitives ap,
                       AgentID agentID,
                       Catalog c)
                throws RemoteException
Method Detail

getAgent

public Agent getAgent()
Description copied from interface: ExceptionHandler
get the internal stub used. (Used for resource management interception)
Specified by:
getAgent in interface ExceptionHandler

setAgent

public void setAgent(Agent a)
Description copied from interface: ExceptionHandler
set the internal stub used to passed agent. (Used for resource management interception)
Specified by:
setAgent in interface ExceptionHandler

getAgtID

public AgentID getAgtID()
Description copied from interface: ExceptionHandler
get the internal agentID used. (Used for resource management interception)
Specified by:
getAgtID in interface ExceptionHandler

setAgtID

public void setAgtID(AgentID a)
Description copied from interface: ExceptionHandler
set the internal agentID used to passed agent. (Used for resource management interception)
Specified by:
setAgtID in interface ExceptionHandler

instantiate

public void instantiate(Agent a)
Specified by:
instantiate in interface ExceptionHandler

replaceExceptionHandler

public void replaceExceptionHandler(AgentExceptionHandler r)
Specified by:
replaceExceptionHandler in interface ExceptionHandler

addMonitor

public void addMonitor(Spy param0)
                throws RemoteException
Description copied from interface: Agent
Add a log monitor that gets all the screen output.
Specified by:
addMonitor in interface Agent

alive

public boolean alive()
              throws RemoteException
Specified by:
alive in interface Agent

getAgentID

public AgentID getAgentID()
Specified by:
getAgentID in interface Agent

getMetaglueAgentID

public AgentID getMetaglueAgentID()
                           throws RemoteException
Specified by:
getMetaglueAgentID in interface Agent

shutdown

public void shutdown()
              throws RemoteException
Specified by:
shutdown in interface Agent

startup

public void startup()
             throws RemoteException
Specified by:
startup in interface Agent

whereAreYou

public InetAddress whereAreYou()
                        throws RemoteException
Description copied from interface: Agent
Returns the InetAddress of the machine where the agent is running
Specified by:
whereAreYou in interface Agent

exportBoardToImage

public void exportBoardToImage()
                        throws RemoteException
Specified by:
exportBoardToImage in interface MimioControl

exportBoardToImage

public void exportBoardToImage(String param0)
                        throws RemoteException
Specified by:
exportBoardToImage in interface MimioControl

hideWindow

public void hideWindow()
                throws RemoteException
Specified by:
hideWindow in interface MimioControl

newBoard

public void newBoard()
              throws RemoteException
Specified by:
newBoard in interface MimioControl

printBoard

public void printBoard()
                throws RemoteException
Specified by:
printBoard in interface MimioControl

saveBoard

public void saveBoard()
               throws RemoteException
Specified by:
saveBoard in interface MimioControl

saveBoardAs

public void saveBoardAs()
                 throws RemoteException
Specified by:
saveBoardAs in interface MimioControl

saveBoardAs

public void saveBoardAs(String param0)
                 throws RemoteException
Specified by:
saveBoardAs in interface MimioControl

showWindow

public void showWindow()
                throws RemoteException
Specified by:
showWindow in interface MimioControl

tagBoard

public void tagBoard()
              throws RemoteException
Specified by:
tagBoard in interface MimioControl

undo

public void undo()
          throws RemoteException
Specified by:
undo in interface MimioControl