Class TreatVictimsService
- java.lang.Object
-
- jadex.bdi.examples.disastermanagement.ambulance.TreatVictimsService
-
- All Implemented Interfaces:
ITreatVictimsService
public class TreatVictimsService extends java.lang.Object implements ITreatVictimsService
Treat victims service.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccessagentThe agent.
-
Constructor Summary
Constructors Constructor Description TreatVictimsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()Get the string representation.ITerminableFuture<java.lang.Void>treatVictims(java.lang.Object disasterId)Treat victims.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The agent.
-
-
Method Detail
-
treatVictims
public ITerminableFuture<java.lang.Void> treatVictims(java.lang.Object disasterId)
Treat victims.- Specified by:
treatVictimsin interfaceITreatVictimsService- Parameters:
disasterId- The disaster id.- Returns:
- Future, null when done.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string representation.
-
-