Bredbandskollen CLI
1.2
Asynchronous network task engine
|
Client that only exists (or, rather, executes code) from within the bridge. More...
#include <synchronousbridge.h>
Public Member Functions | |
virtual void | initialMsgToAgent (std::deque< std::string > &return_msgs) |
Send initial messages to the agent. More... | |
virtual void | newEventFromAgent (std::deque< std::string > &return_msgs, const std::string &msg)=0 |
Retrieve a new message from the agent. More... | |
Client that only exists (or, rather, executes code) from within the bridge.
This way, it's trivial to create a non-interactive interface to the agent.
Shall be used with a SynchronousBridge.
|
virtual |
Send initial messages to the agent.
Override this to push messages onto the queue.
|
pure virtual |
Retrieve a new message from the agent.
The client will only execute code from within its implementation of this method.
The client must push any return messages onto return_msgs.