zeus.agents
Class ACCAgent
java.lang.Object
zeus.agents.BasicAgent
zeus.agents.ACCAgent
- public class ACCAgent
- extends BasicAgent
The DFAgent is run to provide an IIOP ACC service for Zeus that uses FIPA addressing
- Author:
- Simon Thompson
- See Also:
FIPA_AID_Address,
zeus.actors.fipa.FIPA_Postman,
zeus.actors.fipa.FIPA_Server,
zeus.actors.fipa.Zeus_ACC_Server,
zeus.actors.fipa.Zeus_ACC_Mailbox
|
Constructor Summary |
ACCAgent(java.lang.String type,
java.lang.String name,
java.util.Vector nameservers)
|
ACCAgent(java.lang.String type,
java.lang.String name,
java.util.Vector nameservers,
Clock clock)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eventMonitor
private HSet[] eventMonitor
CREATE
public static final int CREATE
- See Also:
- Constant Field Values
DEATH
public static final int DEATH
- See Also:
- Constant Field Values
SUSPEND
public static final int SUSPEND
- See Also:
- Constant Field Values
RESUME
public static final int RESUME
- See Also:
- Constant Field Values
context
protected AgentContext context
ACCAgent
public ACCAgent(java.lang.String type,
java.lang.String name,
java.util.Vector nameservers)
ACCAgent
public ACCAgent(java.lang.String type,
java.lang.String name,
java.util.Vector nameservers,
Clock clock)
getAgentContext
public AgentContext getAgentContext()
- Overrides:
getAgentContext in class BasicAgent
addMessageMonitor
public void addMessageMonitor(MessageMonitor monitor,
long event_type)
- Shortcut to add a MessageMonitor, used if your code needs to react to
changes in the state of the mailbox
- Overrides:
addMessageMonitor in class BasicAgent
removeMessageMonitor
public void removeMessageMonitor(MessageMonitor monitor,
long event_type)
- Overrides:
removeMessageMonitor in class BasicAgent
addAgentMonitor
public void addAgentMonitor(AgentMonitor monitor,
long event_type)
- Add an AgentMonitor if your code needs to react to Agent-level changes in state
- Overrides:
addAgentMonitor in class BasicAgent
removeAgentMonitor
public void removeAgentMonitor(AgentMonitor monitor,
long event_type)
- Overrides:
removeAgentMonitor in class BasicAgent
notifyMonitors
public void notifyMonitors(int type)
- Overrides:
notifyMonitors in class BasicAgent
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.