| Modifier and type | Property and description |
|---|---|
| SreConfig | configuration |
| java.util.logging.Logger | logger
Replies the logger used by the kernel. |
| AgentContext | rootContext
Replies the SRE context of the kernel. |
| Modifier and type | Type and description |
|---|---|
| protected class | Kernel.AsynchronousKernelStoppingListener
Asynchronous listener on platform events. |
| Constructor and description |
|---|
| new(Provider<T>,Provider<T>,Provider<T>,Provider<T>)
Constructs a SRE kernel. |
| Modifier and type | Action and description |
|---|---|
| protected AsynchronousKernelStoppingListener | createKernelListener
Create an instance of the kernel event listener. |
| SreConfig | getConfiguration |
| java.util.logging.Logger | getLogger
Replies the logger used by the kernel. |
| AgentContext | getRootContext
Replies the SRE context of the kernel. |
| S | getService(Class<T>)
Replies a kernel service that is alive. |
| boolean | isRunning
Replies if the kernel is running or not. |
| void | shutdown([int])
Shutdown the kernel. |
| void | spawn(Class<T>,Object*)
Spawn an agent of the given type, and pass the parameters to its initialization function. |
| void | spawn(int,Class<T>,Object*)
Spawn agents of the given type, and pass the parameters to its initialization function. |
| void | spawn(UUID,Class<T>,Object*)
Spawn an agent of the given type, and pass the parameters to its initialization function. |
val configuration : SreConfig
This property is an alias for the action: getConfiguration
val logger : java.util.logging.Logger
null is replied.
This property is an alias for the action: getLogger
val rootContext : AgentContext
This property is an alias for the action: getRootContext
new(Provider<T>,Provider<T>,Provider<T>,Provider<T>)
protected def createKernelListener : AsynchronousKernelStoppingListener
def getConfiguration : SreConfig
def getLogger : java.util.logging.Logger
null is replied.
def getRootContext : AgentContext
def getService(Class<T>) : Swith S extends org.arakhne.afc.services.IService
def isRunning : boolean
def shutdown([int])
def spawn(Class<T>,Object*)
def spawn(int,Class<T>,Object*)
def spawn(UUID,Class<T>,Object*)