Class ExtinguishFireService
- java.lang.Object
-
- jadex.bdi.examples.disastermanagement.firebrigade.ExtinguishFireService
-
- All Implemented Interfaces:
IExtinguishFireService
public class ExtinguishFireService extends java.lang.Object implements IExtinguishFireService
Fire extinguish service.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
The agent.
-
Constructor Summary
Constructors Constructor Description ExtinguishFireService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITerminableFuture<java.lang.Void>
extinguishFire(java.lang.Object disasterId)
Extinguish a fire.java.lang.String
toString()
Get the string representation.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The agent.
-
-
Method Detail
-
extinguishFire
public ITerminableFuture<java.lang.Void> extinguishFire(java.lang.Object disasterId)
Extinguish a fire.- Specified by:
extinguishFire
in interfaceIExtinguishFireService
- Parameters:
disasterId
- The disasterId.- 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.
-
-