Singleton and wrapper class to provide static creation method as well as registry of all sockets. More...
#include <SocketIO.h>
Classes | |
class | SIODelegate |
The delegate class to process socket.io events. More... | |
Static Public Member Functions | |
static SocketIO * | getInstance () |
static void | destroyInstance () |
var | destroyInstance () |
local | destroyInstance () |
static SIOClient * | connect (const std::string &uri, SocketIO::SIODelegate &delegate) |
Static client creation method, similar to socketio.connect(uri) in JS. More... | |
local | connect ( local uri, local delegate) |
Static client creation method, similar to socketio.connect(uri) in JS. More... | |
static CC_DEPRECATED_ATTRIBUTE SIOClient * | connect (SocketIO::SIODelegate &delegate, const std::string &uri) |
local | connect ( local delegate, local uri) |
Friends | |
class | SIOClientImpl |
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.
delegate | The delegate which want to receive events from the socket.io client |
uri | The URI of the socket.io server |
|
static |
Static client creation method, similar to socketio.connect(uri) in JS.
delegate | The delegate which want to receive events from the socket.io client |
uri | The URI of the socket.io server |
|
static |
Static client creation method, similar to socketio.connect(uri) in JS.
delegate | The delegate which want to receive events from the socket.io client |
uri | The URI of the socket.io server |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
friend |
|
friend |
|
friend |