agentland.behavior
Class BehaviorTesterAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.util.GoodAgent
                                |
                                +--agentland.resource.ManagedAgent
                                      |
                                      +--agentland.behavior.BehaviorTesterAgent
All Implemented Interfaces:
Agent, BehaviorTester, Good, Managed, MetagluePrimitives, Remote, Serializable, Spy

public class BehaviorTesterAgent
extends ManagedAgent
implements BehaviorTester

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Fields inherited from class agentland.resource.ManagedAgent
rm, society
 
Fields inherited from class agentland.util.GoodAgent
alert, notifier
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
BehaviorTesterAgent()
           
 
Method Summary
 void getBevs()
           
 void getDependencies()
           
 void getEvents()
           
 void getTree()
           
 void loadBevs()
           
 void loadMov()
           
 void loadOcc()
           
 void sendAllExit()
           
 void sendDoorClose()
           
 void sendDoorOpen()
           
 void sendDvdOff()
           
 void sendDvdOn()
           
 void sendEnter()
           
 void sendEvent(String eventName)
           
 void sendExit()
           
 void sendMeetingStart()
           
 void sendMeetingStop()
           
 void sendPhonecall()
           
 void sendQuietOff()
           
 void sendQuietOn()
           
 void sendTestingStart()
           
 
Methods inherited from class agentland.resource.ManagedAgent
connect, getAlert, getNeed, isAvailable, isAvailable, reliesOn, reliesOn, replace, replace, request, request, request, requestAgent, requestAgent, resources, resourcesByAgentID, setNeed, tiedTo, yank, yank, yank
 
Methods inherited from class agentland.util.GoodAgent
addSpy, addSpy, alert, alertString, beep, error, getHistory, getHistoryElement, getPersistentMap, log, notify, removeSpy, removeSpy, resetHistory, safeRely, safeRely, safeRely, setNiceLogName, tell
 
Methods inherited from class metaglue.AgentAgent
addMonitor, alive, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getProperties, getSociety, log, log, lookupClass, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou
 
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, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 

Constructor Detail

BehaviorTesterAgent

public BehaviorTesterAgent()
                    throws RemoteException
Method Detail

sendTestingStart

public void sendTestingStart()
                      throws RemoteException
Specified by:
sendTestingStart in interface BehaviorTester

sendEnter

public void sendEnter()
               throws RemoteException
Specified by:
sendEnter in interface BehaviorTester

sendExit

public void sendExit()
              throws RemoteException
Specified by:
sendExit in interface BehaviorTester

sendAllExit

public void sendAllExit()
                 throws RemoteException
Specified by:
sendAllExit in interface BehaviorTester

sendPhonecall

public void sendPhonecall()
                   throws RemoteException
Specified by:
sendPhonecall in interface BehaviorTester

sendDvdOn

public void sendDvdOn()
               throws RemoteException
Specified by:
sendDvdOn in interface BehaviorTester

sendDvdOff

public void sendDvdOff()
                throws RemoteException
Specified by:
sendDvdOff in interface BehaviorTester

sendMeetingStart

public void sendMeetingStart()
                      throws RemoteException
Specified by:
sendMeetingStart in interface BehaviorTester

sendMeetingStop

public void sendMeetingStop()
                     throws RemoteException
Specified by:
sendMeetingStop in interface BehaviorTester

sendQuietOn

public void sendQuietOn()
                 throws RemoteException
Specified by:
sendQuietOn in interface BehaviorTester

sendQuietOff

public void sendQuietOff()
                  throws RemoteException
Specified by:
sendQuietOff in interface BehaviorTester

sendDoorOpen

public void sendDoorOpen()
                  throws RemoteException
Specified by:
sendDoorOpen in interface BehaviorTester

sendDoorClose

public void sendDoorClose()
                   throws RemoteException
Specified by:
sendDoorClose in interface BehaviorTester

sendEvent

public void sendEvent(String eventName)
               throws RemoteException
Specified by:
sendEvent in interface BehaviorTester

loadOcc

public void loadOcc()
             throws RemoteException
Specified by:
loadOcc in interface BehaviorTester

loadMov

public void loadMov()
             throws RemoteException
Specified by:
loadMov in interface BehaviorTester

loadBevs

public void loadBevs()
              throws RemoteException
Specified by:
loadBevs in interface BehaviorTester

getBevs

public void getBevs()
             throws RemoteException
Specified by:
getBevs in interface BehaviorTester

getTree

public void getTree()
             throws RemoteException
Specified by:
getTree in interface BehaviorTester

getEvents

public void getEvents()
               throws RemoteException
Specified by:
getEvents in interface BehaviorTester

getDependencies

public void getDependencies()
Specified by:
getDependencies in interface BehaviorTester