agentland.drug
Class PipelineEHA
java.lang.Object
|
+--agentland.drug.PipelineEHA
- public class PipelineEHA
- extends Object
- implements ExceptionHandler, Pipeline, Agent
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PipelineEHA
public PipelineEHA(MetagluePrimitives ap,
AgentID agentID,
Catalog c)
throws RemoteException
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
connect
public ConnectionDrug connect(int param0,
int param1)
throws RemoteException
- Description copied from interface: Pipeline
- To be used from AgentTester. Urgency assumed to be HIGH
- Specified by:
- connect in interface Pipeline
connect
public ConnectionDrug connect(Drug param0,
Drug param1,
AgentID param2,
Urgency param3)
throws RemoteException
- Specified by:
- connect in interface Pipeline
connect
public ConnectionDrug connect(AgentID param0,
AgentID param1,
AgentID param2,
Urgency param3)
throws RemoteException
- Specified by:
- connect in interface Pipeline
connectible
public boolean connectible(AgentID param0,
AgentID param1)
throws RemoteException
- Specified by:
- connectible in interface Pipeline