Class AsyncConnector

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class AsyncConnector : public O3DS::Connector

Bass class for async nng connectors.

If the messages needs to be recieved, pass a callback to setFunc - this is optional

Subclassed by O3DS::AsyncNngConnector, O3DS::Websocket

Public Functions

void setFunc(void *ctx, InDataFunc f)

User implemented callback to receive data (optional)

virtual void stop() = 0

Public Members

InDataFunc mInDataFunc
void *mContext