Singleton and wrapper class to provide static creation method as well as registry of all sockets. More...
Classes | |
class | SIODelegate |
The delegate class to process socket.io events. More... | |
Static Public Member Functions | |
static SocketIO * | getInstance () |
Get instance of SocketIO. More... | |
var | getInstance () |
Get instance of SocketIO. More... | |
static void | destroyInstance () |
Destroy the instance of SocketIO. | |
var | destroyInstance () |
Destroy the instance of SocketIO. | |
static SIOClient * | connect (const std::string &uri, SocketIO::SIODelegate &delegate) |
Static client creation method, similar to socketio.connect(uri) in JS. More... | |
static SIOClient * | connect (SocketIO::SIODelegate &delegate, const std::string &uri) |
Static client creation method, similar to socketio.connect(uri) in JS. More... | |
Singleton and wrapper class to provide static creation method as well as registry of all sockets.
|
static |
Static client creation method, similar to socketio.connect(uri) in JS.
the URI of the socket.io server. the delegate which want to receive events from the socket.io client. an initialized SIOClient if connected successfully, otherwise nullptr.
|
static |
Static client creation method, similar to socketio.connect(uri) in JS.
the URI of the socket.io server. the delegate which want to receive events from the socket.io client. an initialized SIOClient if connected successfully, otherwise nullptr.
|
static |
Static client creation method, similar to socketio.connect(uri) in JS.
the delegate which want to receive events from the socket.io client. the URI of the socket.io server. an initialized SIOClient if connected successfully, otherwise nullptr.
|
static |
Static client creation method, similar to socketio.connect(uri) in JS.
the delegate which want to receive events from the socket.io client. the URI of the socket.io server. an initialized SIOClient if connected successfully, otherwise nullptr.