client-cpp
0.8.1
|
Notifies about Kaa client state changes and errors. More...
#include <IKaaClientStateListener.hpp>
Public Member Functions | |
virtual void | onStarted ()=0 |
On successful start of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage. More... | |
virtual void | onStartFailure (const KaaException &exception)=0 |
On failure during Kaa client startup. Typically failure is related to network issues. More... | |
virtual void | onPaused ()=0 |
On successful pause of Kaa client. Kaa client is successfully paused and does not consume any resources now. More... | |
virtual void | onPauseFailure (const KaaException &exception)=0 |
On failure during Kaa client pause. Typically related to failure to free some resources. More... | |
virtual void | onResumed ()=0 |
On successful resume of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage. More... | |
virtual void | onResumeFailure (const KaaException &exception)=0 |
On failure during Kaa client resume. Typically failure is related to network issues. More... | |
virtual void | onStopped ()=0 |
On successful stop of Kaa client. Kaa client is successfully stopped and does not consume any resources now. More... | |
virtual void | onStopFailure (const KaaException &exception)=0 |
On failure during Kaa client stop. Typically related to failure to free some resources. More... | |
virtual | ~IKaaClientStateListener ()=default |
Notifies about Kaa client state changes and errors.
Definition at line 32 of file IKaaClientStateListener.hpp.
|
virtualdefault |
|
pure virtual |
On successful pause of Kaa client. Kaa client is successfully paused and does not consume any resources now.
Implemented in kaa::DummyKaaClientStateListener.
|
pure virtual |
On failure during Kaa client pause. Typically related to failure to free some resources.
exception | - cause of failure |
Implemented in kaa::DummyKaaClientStateListener.
|
pure virtual |
On successful resume of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage.
Implemented in kaa::DummyKaaClientStateListener.
|
pure virtual |
On failure during Kaa client resume. Typically failure is related to network issues.
exception | - cause of failure |
Implemented in kaa::DummyKaaClientStateListener.
|
pure virtual |
On successful start of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage.
Implemented in kaa::DummyKaaClientStateListener.
|
pure virtual |
On failure during Kaa client startup. Typically failure is related to network issues.
exception | - cause of failure |
Implemented in kaa::DummyKaaClientStateListener.
|
pure virtual |
On failure during Kaa client stop. Typically related to failure to free some resources.
exception | - cause of failure |
Implemented in kaa::DummyKaaClientStateListener.
|
pure virtual |
On successful stop of Kaa client. Kaa client is successfully stopped and does not consume any resources now.
Implemented in kaa::DummyKaaClientStateListener.