public class SimulationService
extends jade.core.BaseService
EnvironmentModel
model to all connected agents in an asynchronous way andSimulationAgent
Modifier and Type | Class and Description |
---|---|
class |
SimulationService.SimulationServiceImpl
Sub-Class to provide interaction between Agents and this Service.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AID_PROPERTY_CLASSNAME |
static java.lang.String |
NAME |
static java.lang.String |
SERVICE_NODE_DESCRIPTION_FILE |
Constructor and Description |
---|
SimulationService() |
Modifier and Type | Method and Description |
---|---|
void |
boot(jade.core.Profile p) |
jade.core.Filter |
getCommandFilter(boolean direction) |
jade.core.ServiceHelper |
getHelper(jade.core.Agent ag) |
java.lang.Class<?> |
getHorizontalInterface() |
jade.core.Service.Slice |
getLocalSlice() |
java.lang.String |
getName() |
void |
init(jade.core.AgentContainer ac,
jade.core.Profile p) |
void |
shutdown() |
public static final java.lang.String NAME
public static final java.lang.String SERVICE_NODE_DESCRIPTION_FILE
public static final java.lang.String AID_PROPERTY_CLASSNAME
public void init(jade.core.AgentContainer ac, jade.core.Profile p) throws jade.core.ProfileException
init
in interface jade.core.Service
init
in class jade.core.BaseService
jade.core.ProfileException
public void boot(jade.core.Profile p) throws jade.core.ServiceException
boot
in interface jade.core.Service
boot
in class jade.core.BaseService
jade.core.ServiceException
public void shutdown()
shutdown
in interface jade.core.Service
shutdown
in class jade.core.BaseService
public java.lang.String getName()
public jade.core.ServiceHelper getHelper(jade.core.Agent ag)
getHelper
in interface jade.core.Service
getHelper
in class jade.core.BaseService
public jade.core.Filter getCommandFilter(boolean direction)
getCommandFilter
in interface jade.core.Service
getCommandFilter
in class jade.core.BaseService
public java.lang.Class<?> getHorizontalInterface()
getHorizontalInterface
in interface jade.core.Service
getHorizontalInterface
in class jade.core.BaseService
public jade.core.Service.Slice getLocalSlice()
getLocalSlice
in interface jade.core.Service
getLocalSlice
in class jade.core.BaseService