client-cpp  0.8.1
kaa::IKaaClientStateListener Class Referenceabstract

Notifies about Kaa client state changes and errors. More...

#include <IKaaClientStateListener.hpp>

+ Inheritance diagram for kaa::IKaaClientStateListener:

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
 

Detailed Description

Notifies about Kaa client state changes and errors.

Author
Denis Kimcherenko

Definition at line 32 of file IKaaClientStateListener.hpp.

Constructor & Destructor Documentation

virtual kaa::IKaaClientStateListener::~IKaaClientStateListener ( )
virtualdefault

Member Function Documentation

virtual void kaa::IKaaClientStateListener::onPaused ( )
pure virtual

On successful pause of Kaa client. Kaa client is successfully paused and does not consume any resources now.

Implemented in kaa::DummyKaaClientStateListener.

virtual void kaa::IKaaClientStateListener::onPauseFailure ( const KaaException exception)
pure virtual

On failure during Kaa client pause. Typically related to failure to free some resources.

Parameters
exception- cause of failure

Implemented in kaa::DummyKaaClientStateListener.

virtual void kaa::IKaaClientStateListener::onResumed ( )
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.

virtual void kaa::IKaaClientStateListener::onResumeFailure ( const KaaException exception)
pure virtual

On failure during Kaa client resume. Typically failure is related to network issues.

Parameters
exception- cause of failure

Implemented in kaa::DummyKaaClientStateListener.

virtual void kaa::IKaaClientStateListener::onStarted ( )
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.

virtual void kaa::IKaaClientStateListener::onStartFailure ( const KaaException exception)
pure virtual

On failure during Kaa client startup. Typically failure is related to network issues.

Parameters
exception- cause of failure

Implemented in kaa::DummyKaaClientStateListener.

virtual void kaa::IKaaClientStateListener::onStopFailure ( const KaaException exception)
pure virtual

On failure during Kaa client stop. Typically related to failure to free some resources.

Parameters
exception- cause of failure

Implemented in kaa::DummyKaaClientStateListener.

virtual void kaa::IKaaClientStateListener::onStopped ( )
pure virtual

On successful stop of Kaa client. Kaa client is successfully stopped and does not consume any resources now.

Implemented in kaa::DummyKaaClientStateListener.


The documentation for this class was generated from the following file: