Class AsyncConnector
Defined in File base_connector.h
Inheritance Relationships
Base Type
public O3DS::Connector
(Class Connector)
Derived Types
public O3DS::AsyncNngConnector
(Class AsyncNngConnector)public O3DS::Websocket
(Class Websocket)
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
-
void setFunc(void *ctx, InDataFunc f)