InterfaceObserver¶
-
class
kanzi::connect::InterfaceObserver¶ Abstract base class for all observers.
All interfaces derive their own type-specific observer class from this class.
Subclassed by ExternalClientAdapter, StreamObserver
Public Functions
-
~InterfaceObserver()¶ Destructor.
-
void
onMessageReceived(const MessagePackage &message)¶ Notification that interface has received a message.
- Parameters
message: Message that was received.
-
void
onSessionRunning()¶ Notification that interface/session entered running state.
-
void
onSessionStopped()¶ Notification that interface/session got stopped for a reason or another.
-