agentland.drug
Interface FakeAddict

All Known Implementing Classes:
FakeAddictAgent, FakeAddictEHA

public interface FakeAddict
extends Good, Addict


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 Urgency drugNeed(Drug drug)
           
 void drugReplaced(Drug old_drug, Drug new_drug)
           
 void drugWithdrawn(Drug drug)
           
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

drugNeed

public Urgency drugNeed(Drug drug)
                 throws RemoteException
Specified by:
drugNeed in interface Addict

drugWithdrawn

public void drugWithdrawn(Drug drug)
                   throws RemoteException
Specified by:
drugWithdrawn in interface Addict

drugReplaced

public void drugReplaced(Drug old_drug,
                         Drug new_drug)
                  throws RemoteException
Specified by:
drugReplaced in interface Addict