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
-
inline virtual
~InterfaceObserver
()¶ Destructor.
-
inline virtual void
onMessageReceived
(const MessagePackage&)¶ Notification that interface has received a message.
- Parameters
message – Message that was received.
-
inline virtual void
onSessionRunning
()¶ Notification that interface/session entered running state.
-
inline virtual void
onSessionStopped
()¶ Notification that interface/session got stopped for a reason or another.
-
inline virtual