Kanzi Connect 3.9.10
kanzi::connect::GenericServiceClient::EventCallbackEx Class Referenceabstract

Traditional c++ interface for callbacks to be used in android. More...

#include <genericserviceclient.hpp>

Classes

class  EventArguments
 Wrapper class for event arguments. Used in external application bindings. More...
 

Public Member Functions

virtual void onEventReceived (const string &eventName, const EventArguments &eventArguments)=0
 Invoked when event is received.
 
virtual void onEventRegistrationStateChanged (const string &eventName, EventRegistrationState state)=0
 Invoked when event registration state changes.
 
virtual ~EventCallbackEx ()
 Allows generic client side interface to a named service. Introspects service details along the way when service methods are invoked.
 

Detailed Description

Traditional c++ interface for callbacks to be used in android.

Constructor & Destructor Documentation

◆ ~EventCallbackEx()

virtual kanzi::connect::GenericServiceClient::EventCallbackEx::~EventCallbackEx ( )
inlinevirtual

Allows generic client side interface to a named service. Introspects service details along the way when service methods are invoked.

Required for Java bindings

Member Function Documentation

◆ onEventReceived()

virtual void kanzi::connect::GenericServiceClient::EventCallbackEx::onEventReceived ( const string & eventName,
const EventArguments & eventArguments )
pure virtual

Invoked when event is received.

Parameters
eventNamethe name of the event.
eventArgumentsnamed arguments for the event.

◆ onEventRegistrationStateChanged()

virtual void kanzi::connect::GenericServiceClient::EventCallbackEx::onEventRegistrationStateChanged ( const string & eventName,
EventRegistrationState state )
pure virtual

Invoked when event registration state changes.

Parameters
eventNamename of the event whom registration status changed
statethe new state of registration. Generally either ..Failed or ..Complete

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