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 IInternalAccess
agent
The agent.
-
Constructor Summary
Constructors Constructor Description TreatVictimsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
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:
treatVictims
in interfaceITreatVictimsService
- Parameters:
disasterId
- The disaster id.- Returns:
- Future, null when done.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The string representation.
-
-