Common interface towards service service at server. More...
#include <serviceclient.hpp>
Public Member Functions | |
| void | addObserver (ServiceClientObserver *observer) |
| Add observer to listen service service events. More... | |
| ClientSharedPtr | getClient () const |
| Retrieve client instance. More... | |
| void | removeObserver (ServiceClientObserver *observer) |
| Remove observer to listen service service events. More... | |
| ServiceClient (ClientSharedPtr client) | |
| C++ constructor. More... | |
| ServiceInterfaceClient * | serviceInterface () const |
| Get interface. More... | |
| AbstractSessionSharedPtr | serviceSession () const |
| Get service session. More... | |
| void | start () |
| Start operation. should be called after connection towards server is established. More... | |
| void | stop () |
| Stop operation. should be called after connection towards server is closed. More... | |
Common interface towards service service at server.
| kanzi::connect::ServiceClient::ServiceClient | ( | ClientSharedPtr | client | ) |
C++ constructor.
| client | the client connection towards server. |
| void kanzi::connect::ServiceClient::addObserver | ( | ServiceClientObserver * | observer | ) |
Add observer to listen service service events.
| observer | the observer |
| ClientSharedPtr kanzi::connect::ServiceClient::getClient | ( | ) | const |
Retrieve client instance.
| void kanzi::connect::ServiceClient::removeObserver | ( | ServiceClientObserver * | observer | ) |
Remove observer to listen service service events.
| observer | the observer |
| ServiceInterfaceClient* kanzi::connect::ServiceClient::serviceInterface | ( | ) | const |
Get interface.
| AbstractSessionSharedPtr kanzi::connect::ServiceClient::serviceSession | ( | ) | const |
Get service session.
| void kanzi::connect::ServiceClient::start | ( | ) |
Start operation. should be called after connection towards server is established.
| void kanzi::connect::ServiceClient::stop | ( | ) |
Stop operation. should be called after connection towards server is closed.