client-cpp  0.8.1
kaa::Kaa Class Reference

Creates a new Kaa client based on IKaaClientPlatformContext and optional IKaaClientStateListener. 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 >(), IKaaClientStateListenerPtr listener=IKaaClientStateListenerPtr())
 Creates a new instance of a Kaa client. More...
 

Detailed Description

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

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 >(),
IKaaClientStateListenerPtr  listener = IKaaClientStateListenerPtr() 
)
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: