agentland.software
Class NetscapeEHA

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

public class NetscapeEHA
extends Object
implements ExceptionHandler, Netscape, 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
NetscapeEHA(MetagluePrimitives ap, AgentID agentID, Catalog c)
           
 
Method Summary
 void addBookmark()
           
 void addMonitor(Spy param0)
          Add a log monitor that gets all the screen output.
 boolean alive()
           
 void back()
           
 void close()
           
 void copy()
           
 void find()
           
 void forward()
           
 Agent getAgent()
          get the internal stub used.
 AgentID getAgentID()
           
 AgentID getAgtID()
          get the internal agentID used.
 AgentID getMetaglueAgentID()
           
 void goURL(String param0)
           
 void home()
           
 void instantiate(Agent a)
           
 void newWindow()
           
 void openFile(String param0)
           
 void paste()
           
 void print()
           
 void reload()
           
 void replaceExceptionHandler(AgentExceptionHandler r)
           
 void sendMailTo(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 setDisplay(String param0)
           
 void shutdown()
           
 void startup()
           
 void stop()
           
 void viewBookmarks()
           
 void viewSource()
           
 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

NetscapeEHA

public NetscapeEHA(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

addBookmark

public void addBookmark()
                 throws RemoteException
Specified by:
addBookmark in interface Netscape

back

public void back()
          throws RemoteException
Specified by:
back in interface Netscape

close

public void close()
           throws RemoteException
Specified by:
close in interface Netscape

copy

public void copy()
          throws RemoteException
Specified by:
copy in interface Netscape

find

public void find()
          throws RemoteException
Specified by:
find in interface Netscape

forward

public void forward()
             throws RemoteException
Specified by:
forward in interface Netscape

goURL

public void goURL(String param0)
           throws RemoteException
Specified by:
goURL in interface Netscape

home

public void home()
          throws RemoteException
Specified by:
home in interface Netscape

newWindow

public void newWindow()
               throws RemoteException
Specified by:
newWindow in interface Netscape

openFile

public void openFile(String param0)
              throws RemoteException
Specified by:
openFile in interface Netscape

paste

public void paste()
           throws RemoteException
Specified by:
paste in interface Netscape

print

public void print()
           throws RemoteException
Specified by:
print in interface Netscape

reload

public void reload()
            throws RemoteException
Specified by:
reload in interface Netscape

sendMailTo

public void sendMailTo(String param0)
                throws RemoteException
Specified by:
sendMailTo in interface Netscape

setDisplay

public void setDisplay(String param0)
                throws RemoteException
Specified by:
setDisplay in interface Netscape

stop

public void stop()
          throws RemoteException
Specified by:
stop in interface Netscape

viewBookmarks

public void viewBookmarks()
                   throws RemoteException
Specified by:
viewBookmarks in interface Netscape

viewSource

public void viewSource()
                throws RemoteException
Specified by:
viewSource in interface Netscape