The Agent Bridge Service is a binding service that makes the link between the Envived application (the environment) and the tAtAmI agent module. It is started and stopped in the HomeActivity much like the EnvivedMessageService.
The AgentBridgeService has two main functions implemented over 4 interfaces.
Event Input
Goal: forward local (events generated by the current user) and global (events generated externally, by other users and received as application events) events to tAtAmI agent input interface.
Bridge-to-Application Interface
the bridge service registers a receiver for the ACTION_RECEIVE_EVENT_NOTIFICATION action
the receiver forwards the received event to a handler function
handler function retrieves event type and uses it as parameter in a call to a
EventTransformFactory that returns an instance of the appropriate EventTransform class. The
handler class then calls the EventTransform.transform() function on the obtained
EventTransform instance which will return the tAtAmI agent expected input for the event. The
handler function then passes this to the agent (see Bridge-to-Agent Interface)
Bridge-to-Agent Interface
TBA what this contains
Agent Action Output
Bridge-to-Agent Interface
TBA how the agent sends actions (influence on its environment) which take the application form of notifications or settings actions (e.g. change ringtone)
Bridge-to-Application Interface
TBA how the service implements the agent actions as the above mentioned notifications or settings actios
The Agent Bridge Service is a binding service that makes the link between the Envived application (the environment) and the tAtAmI agent module. It is started and stopped in the HomeActivity much like the EnvivedMessageService. The AgentBridgeService has two main functions implemented over 4 interfaces.
Event Input
Agent Action Output