public class LoadService
extends jade.core.BaseService
LoadMeasureThread
, its evaluates also some local
information and enables to set the migration of agents.Modifier and Type | Class and Description |
---|---|
class |
LoadService.LoadServiceImpl
Sub-Class to provide interaction between Agents and this Service by using the
LoadServiceHelper . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
The external NAME of the this Service ('agentgui.simulationService.LoadService').
|
Constructor and Description |
---|
LoadService() |
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 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