Provides mechanism to recieve feedback about changes to libIntegra's state. More...
#include "api/notification_sink.h"
Public Member Functions | |
virtual void | on_set_command (const IServer &server, const CPath &endpoint_path, const CCommandSource &source)=0 |
Callback invoked when Control Endpoints are set. More... | |
Provides mechanism to recieve feedback about changes to libIntegra's state.
In order to receive feedback from libIntegra, the caller can subclass INotificationSink, and pass the subclass into IntegraSession via CServerStartupInfo.
|
pure virtual |
Callback invoked when Control Endpoints are set.
Override this method to receive notifications /note 'set' is the only command for which notifications are provided. This is because none of the other commands originate from within libIntegra - they always come from the user of the api. There's no need to inform the user of the api about something which they initiated in the first place.