AbstractSystemAgent

abstract class AbstractSystemAgent(    messageSender: MessageSender,     connectionManager: ConnectionManagerInterface,     contextManager: ContextManagerInterface) : AbstractCapabilityAgent, SystemAgentInterface, ContextRequester

Constructors

Link copied to clipboard
fun AbstractSystemAgent(    messageSender: MessageSender,     connectionManager: ConnectionManagerInterface,     contextManager: ContextManagerInterface)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun addListener(listener: SystemAgentInterface.Listener)

Add a listener to be called when a state changed.

Link copied to clipboard
open override fun cancelDirective(messageId: String)
Link copied to clipboard
open override fun handleDirective(messageId: String): Boolean
Link copied to clipboard
abstract fun onContextAvailable(jsonContext: String)
Link copied to clipboard
abstract fun onContextFailure(error: ContextRequester.ContextRequestError, jsonContext: String)
Link copied to clipboard
abstract fun onEcho()
Link copied to clipboard
open override fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)
Link copied to clipboard
abstract fun provideState(    contextSetter: ContextSetterInterface,     namespaceAndName: NamespaceAndName,     contextType: ContextType,     stateRequestToken: Int)
Link copied to clipboard
abstract fun removeListener(listener: SystemAgentInterface.Listener)

Remove a listener

Link copied to clipboard
abstract fun shutdown()

Properties

Link copied to clipboard
abstract val configurations: Map<NamespaceAndName, BlockingPolicy>
Link copied to clipboard
override val namespaceAndName: NamespaceAndName

Inheritors

Link copied to clipboard