TBD
Control requests and messages
To control a running component, system level requests can be sent. These requests will not be passed on to the message handlers (on_request
and on_message
). These requests should inherit from SICControlRequest
.
...
SICPingRequest
- A ping message to check if a component is active. Should be answered with a reply by sending back a SICPongMessage
.
...
ConnectRequest
- A request for a component to start listening to some some channel. The messages on this channel will be passed onto the on_message
callback.
...
SICSuccessMessage
- A message indicating succes, for example responding to a ConnectRequest
.
...
SICStopRequest
- A request for the component to shut down.
...
A ComponentManager is responsible for running specific components. For example, on your computer, you might have a ComponentManager responsible for running device components such as microphone, camera, and speaker. You might also have a ComponentManager responsible for the FaceDetection service.