agentland.behavior
Interface Behavior

All Superinterfaces:
Agent, Good, Managed, Remote, Spy
All Known Subinterfaces:
DefaultBehavior, DefaultTestingBehavior, MeetingBehavior, MovieBehavior, OccupiedBehavior, QuietBehavior
All Known Implementing Classes:
BehaviorAgent

public interface Behavior
extends Managed

See the comments for BehaviorAgent.

See Also:
BehaviorAgent, Managed

Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void activateAction(String actionName)
           
 void activateParent(BehaviorID bID)
           
 void addActionDependency(BehaviorID parID, String thisAction, String parentAction)
           
 void addChild(BehaviorID bID)
           
 void addParent(BehaviorID bID)
           
 void addPermanentAction(String actionName)
           
 void deactivateParent(BehaviorID bID)
           
 void deleteActionDependency(BehaviorID parID, String thisAction, String parentAction)
           
 Vector getActivationEvents()
           
 Vector getActiveParents()
           
 Vector getAllEvents()
           
 Vector getChildren()
           
 String getDependencies()
           
 String getDependencies(BehaviorID parID)
           
 Vector getDirectActiveParents()
           
 Vector getEvents()
           
 BehaviorID getID()
           
 String getName()
           
 Vector getOverridenActions()
           
 Vector getParents()
           
 Vector getPermanentActions()
           
 boolean isActive()
           
 boolean isInactive()
           
 boolean isLeaf()
           
 boolean isListening()
           
 boolean isOverriden()
           
 void override(Vector actionNames)
           
 void overrideAction(String actionName)
           
 void pass(Secret secret)
           
 void registerBevCoord(AgentID aid)
           
 void removeChild(BehaviorID bID)
           
 void removePermanentAction(String actionName)
           
 void setIDNumeric(Integer num)
           
 String showHashedAgentStubs()
           
 void temporarilyActivateAction(String actionName)
           
 void undoOverride(Vector actionNames)
           
 
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
 

Method Detail

getID

public BehaviorID getID()
                 throws RemoteException

setIDNumeric

public void setIDNumeric(Integer num)
                  throws RemoteException

isOverriden

public boolean isOverriden()
                    throws RemoteException

isLeaf

public boolean isLeaf()
               throws RemoteException

isActive

public boolean isActive()
                 throws RemoteException

isListening

public boolean isListening()
                    throws RemoteException

isInactive

public boolean isInactive()
                   throws RemoteException

addParent

public void addParent(BehaviorID bID)
               throws RemoteException

addChild

public void addChild(BehaviorID bID)
              throws RemoteException

removeChild

public void removeChild(BehaviorID bID)
                 throws RemoteException

getParents

public Vector getParents()
                  throws RemoteException

getActiveParents

public Vector getActiveParents()
                        throws RemoteException

getDirectActiveParents

public Vector getDirectActiveParents()
                              throws RemoteException

getChildren

public Vector getChildren()
                   throws RemoteException

activateParent

public void activateParent(BehaviorID bID)
                    throws RemoteException

deactivateParent

public void deactivateParent(BehaviorID bID)
                      throws RemoteException

addActionDependency

public void addActionDependency(BehaviorID parID,
                                String thisAction,
                                String parentAction)
                         throws RemoteException

deleteActionDependency

public void deleteActionDependency(BehaviorID parID,
                                   String thisAction,
                                   String parentAction)
                            throws RemoteException

overrideAction

public void overrideAction(String actionName)
                    throws RemoteException

activateAction

public void activateAction(String actionName)
                    throws RemoteException

temporarilyActivateAction

public void temporarilyActivateAction(String actionName)
                               throws RemoteException

override

public void override(Vector actionNames)
              throws RemoteException

undoOverride

public void undoOverride(Vector actionNames)
                  throws RemoteException

getOverridenActions

public Vector getOverridenActions()
                           throws RemoteException

getEvents

public Vector getEvents()
                 throws RemoteException

getActivationEvents

public Vector getActivationEvents()
                           throws RemoteException

getAllEvents

public Vector getAllEvents()
                    throws RemoteException

pass

public void pass(Secret secret)
          throws RemoteException

getName

public String getName()
               throws RemoteException

getDependencies

public String getDependencies(BehaviorID parID)
                       throws RemoteException

getDependencies

public String getDependencies()
                       throws RemoteException

registerBevCoord

public void registerBevCoord(AgentID aid)
                      throws RemoteException

showHashedAgentStubs

public String showHashedAgentStubs()
                            throws RemoteException

addPermanentAction

public void addPermanentAction(String actionName)
                        throws RemoteException

removePermanentAction

public void removePermanentAction(String actionName)
                           throws RemoteException

getPermanentActions

public Vector getPermanentActions()
                           throws RemoteException