client-cpp  0.10.0
kaa::Kaa Class Reference

Creates a new Kaa client based on IKaaClientPlatformContext and optional KaaClientStateListener. More...

#include <Kaa.hpp>

Public Member Functions

 Kaa ()=delete
 Use newClient() to create a Kaa client instance. More...
 
 Kaa (const Kaa &)=delete
 Use newClient() to create a Kaa client instance. More...
 
Kaaoperator= (const Kaa &)=delete
 Use newClient() to create a Kaa client instance. More...
 

Static Public Member Functions

static std::shared_ptr
< IKaaClient
newClient (IKaaClientPlatformContextPtr context=std::make_shared< KaaClientPlatformContext >(), KaaClientStateListenerPtr listener=std::make_shared< KaaClientStateListener >())
 Creates a new instance of a Kaa client. More...
 

Detailed Description

Creates a new Kaa client based on IKaaClientPlatformContext and optional KaaClientStateListener.

Definition at line 37 of file Kaa.hpp.

Constructor & Destructor Documentation

kaa::Kaa::Kaa ( )
delete

Use newClient() to create a Kaa client instance.

kaa::Kaa::Kaa ( const Kaa )
delete

Use newClient() to create a Kaa client instance.

Member Function Documentation

static std::shared_ptr<IKaaClient> kaa::Kaa::newClient ( IKaaClientPlatformContextPtr  context = std::make_shared< KaaClientPlatformContext >(),
KaaClientStateListenerPtr  listener = std::make_shared< KaaClientStateListener >() 
)
static

Creates a new instance of a Kaa client.

Parameters
contextPlatform context.
listenerKaa client state listener.
Returns
New instance of Kaa client.
Kaa& kaa::Kaa::operator= ( const Kaa )
delete

Use newClient() to create a Kaa client instance.


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