Observer class that allows to receive notifications from the connection adapter.
More...
#include <connection_adapter_client.hpp>
Observer class that allows to receive notifications from the connection adapter.
◆ ~Observer()
virtual kanzi::connect::ClientConnectionAdapter::Observer::~Observer |
( |
| ) |
|
|
inlinevirtual |
◆ onConnected()
virtual void kanzi::connect::ClientConnectionAdapter::Observer::onConnected |
( |
| ) |
|
|
inlinevirtual |
Notifies that the connection was established.
Due the internal locking, removeObserver cannot be called from this routine.
◆ onDisconnected()
virtual void kanzi::connect::ClientConnectionAdapter::Observer::onDisconnected |
( |
| ) |
|
|
inlinevirtual |
Notifies that the connection was terminated.
Due the internal locking, removeObserver cannot be called from this routine.
◆ onReceive()
virtual void kanzi::connect::ClientConnectionAdapter::Observer::onReceive |
( |
const vector< char > & |
data | ) |
|
|
inlinevirtual |
Notifies that data was received from server.
- Parameters
-
data | Data that was received. Due the internal locking, removeObserver cannot be called from this routine. |
The documentation for this class was generated from the following file:
- connect/connection/connection_adapter_client.hpp