agentland.drug
Interface Pipeline

All Known Implementing Classes:
PipelineAgent, PipelineEHA

public interface Pipeline
extends Agent


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 ConnectionDrug connect(AgentID start, AgentID stop, AgentID addict, Urgency urgency)
           
 ConnectionDrug connect(Drug start, Drug stop, AgentID addict, Urgency urgency)
           
 ConnectionDrug connect(int start, int stop)
          To be used from AgentTester.
 boolean connectible(AgentID start, AgentID stop)
           
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 

Method Detail

connect

public ConnectionDrug connect(int start,
                              int stop)
                       throws RemoteException
To be used from AgentTester. Urgency assumed to be HIGH

connect

public ConnectionDrug connect(Drug start,
                              Drug stop,
                              AgentID addict,
                              Urgency urgency)
                       throws RemoteException

connect

public ConnectionDrug connect(AgentID start,
                              AgentID stop,
                              AgentID addict,
                              Urgency urgency)
                       throws RemoteException

connectible

public boolean connectible(AgentID start,
                           AgentID stop)
                    throws RemoteException