DefaultSystemAgent

class DefaultSystemAgent(    messageSender: MessageSender,     connectionManager: ConnectionManagerInterface,     contextManager: ContextManagerInterface,     directiveSequencer: DirectiveSequencerInterface,     exceptionDirectiveDelegate: ExceptionDirectiveDelegate?) : AbstractSystemAgent, RevokeDirectiveHandler.Controller

Constructors

Link copied to clipboard
fun DefaultSystemAgent(    messageSender: MessageSender,     connectionManager: ConnectionManagerInterface,     contextManager: ContextManagerInterface,     directiveSequencer: DirectiveSequencerInterface,     exceptionDirectiveDelegate: ExceptionDirectiveDelegate?)

Types

Link copied to clipboard
object Companion

This class handles providing configuration for the System Capability agent

Functions

Link copied to clipboard
open override 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
open override fun onContextAvailable(jsonContext: String)
Link copied to clipboard
open override fun onContextFailure(error: ContextRequester.ContextRequestError, jsonContext: String)
Link copied to clipboard
open override fun onEcho()
Link copied to clipboard
open override fun onRevoke(reason: SystemAgentInterface.RevokeReason)
Link copied to clipboard
open override fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)
Link copied to clipboard
open override fun provideState(    contextSetter: ContextSetterInterface,     namespaceAndName: NamespaceAndName,     contextType: ContextType,     stateRequestToken: Int)
Link copied to clipboard
open override fun removeListener(listener: SystemAgentInterface.Listener)

Remove a listener

Link copied to clipboard
open override fun shutdown()

Shut down the Impl.

Properties

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