cocos2d-x  3.2alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SocketIO.h File Reference
#include "base/CCPlatformMacros.h"
#include "base/CCMap.h"
#include <string>

Classes

class  SocketIO
 Singleton and wrapper class to provide static creation method as well as registry of all sockets. More...
 
class  SocketIO::SIODelegate
 The delegate class to process socket.io events. More...
 
class  SIOClient
 A single connection to a socket.io endpoint. More...
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 
 cocos2d::network
 

Typedefs

typedef std::function< void(SIOClient
*, const std::string &)> 
SIOEvent
typedef std::unordered_map
< std::string, SIOEvent > 
EventRegistry