agentland.software
Class PowerPointDisplayEHA

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

public class PowerPointDisplayEHA
extends Object
implements ExceptionHandler, PowerPointDisplay, MSWindow


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
PowerPointDisplayEHA(MetagluePrimitives ap, AgentID agentID, Catalog c)
           
 
Method Summary
 void activateWindow()
           
 void addMonitor(Spy param0)
          Add a log monitor that gets all the screen output.
 boolean alive()
           
 void backXSlides(int param0)
           
 void charge(int param0)
          For testing--go that many number of slides, 2 sec delay bet.
 void firstSlide()
           
 void forwardXSlides(int 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 lastSlide()
           
 void maximizeAndActivate()
           
 void minimizeWindow()
           
 void nextSlide()
           
 void previousSlide()
           
 void replaceExceptionHandler(AgentExceptionHandler r)
           
 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 shutdown()
           
 void startPowerPoint()
           
 void startPresentation()
           
 void startup()
           
 void stopPresentation()
           
 boolean weExist()
           
 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

PowerPointDisplayEHA

public PowerPointDisplayEHA(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.

alive

public boolean alive()
              throws RemoteException

getAgentID

public AgentID getAgentID()

getMetaglueAgentID

public AgentID getMetaglueAgentID()
                           throws RemoteException

shutdown

public void shutdown()
              throws RemoteException

startup

public void startup()
             throws RemoteException

whereAreYou

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

activateWindow

public void activateWindow()
                    throws RemoteException,
                           MSWindowsDisplayException
Specified by:
activateWindow in interface MSWindow

hideWindow

public void hideWindow()
                throws RemoteException,
                       MSWindowsDisplayException
Specified by:
hideWindow in interface MSWindow

maximizeAndActivate

public void maximizeAndActivate()
                         throws RemoteException,
                                MSWindowsDisplayException
Specified by:
maximizeAndActivate in interface MSWindow

minimizeWindow

public void minimizeWindow()
                    throws RemoteException,
                           MSWindowsDisplayException
Specified by:
minimizeWindow in interface MSWindow

weExist

public boolean weExist()
                throws RemoteException
Specified by:
weExist in interface MSWindow

backXSlides

public void backXSlides(int param0)
                 throws RemoteException
Specified by:
backXSlides in interface PowerPointDisplay

charge

public void charge(int param0)
            throws RemoteException
Description copied from interface: PowerPointDisplay
For testing--go that many number of slides, 2 sec delay bet.
Specified by:
charge in interface PowerPointDisplay

firstSlide

public void firstSlide()
                throws RemoteException
Specified by:
firstSlide in interface PowerPointDisplay

forwardXSlides

public void forwardXSlides(int param0)
                    throws RemoteException
Specified by:
forwardXSlides in interface PowerPointDisplay

lastSlide

public void lastSlide()
               throws RemoteException
Specified by:
lastSlide in interface PowerPointDisplay

nextSlide

public void nextSlide()
               throws RemoteException
Specified by:
nextSlide in interface PowerPointDisplay

previousSlide

public void previousSlide()
                   throws RemoteException
Specified by:
previousSlide in interface PowerPointDisplay

startPowerPoint

public void startPowerPoint()
                     throws RemoteException,
                            MSWindowsDisplayException,
                            IOException
Specified by:
startPowerPoint in interface PowerPointDisplay

startPresentation

public void startPresentation()
                       throws RemoteException
Specified by:
startPresentation in interface PowerPointDisplay

stopPresentation

public void stopPresentation()
                      throws RemoteException
Specified by:
stopPresentation in interface PowerPointDisplay