cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SocketIO::SIODelegate Class Referenceabstract

The delegate class to process socket.io events. More...

#include <SocketIO.h>

Public Member Functions

virtual ~SIODelegate ()
local ~SIODelegate ()
virtual void onConnect (SIOClient *client)=0
local onConnect ( local client)
virtual void onMessage (SIOClient *client, const std::string &data)=0
local onMessage ( local client, local data)
virtual void onClose (SIOClient *client)=0
var onClose ( var client)
local onClose ( local client)
virtual void onError (SIOClient *client, const std::string &data)=0
local onError ( local client, local data)
virtual void fireEventToScript (SIOClient *client, const std::string &eventName, const std::string &data)
local fireEventToScript ( local client, local eventName, local data)

Detailed Description

The delegate class to process socket.io events.

Constructor & Destructor Documentation

virtual ~SIODelegate ( )
inlinevirtual
var ~SIODelegate ( )
inlinevirtual
local ~SIODelegate ( )
inlinevirtual

Member Function Documentation

virtual void fireEventToScript ( SIOClient client,
const std::string &  eventName,
const std::string &  data 
)
inlinevirtual
var fireEventToScript ( var  client,
var  eventName,
var  data 
)
inlinevirtual
local fireEventToScript ( local  client,
local  eventName,
local  data 
)
inlinevirtual
virtual void onClose ( SIOClient client)
pure virtual
var onClose ( var  client)
pure virtual
local onClose ( local  client)
pure virtual
virtual void onConnect ( SIOClient client)
pure virtual
var onConnect ( var  client)
pure virtual
local onConnect ( local  client)
pure virtual
virtual void onError ( SIOClient client,
const std::string &  data 
)
pure virtual
var onError ( var  client,
var  data 
)
pure virtual
local onError ( local  client,
local  data 
)
pure virtual
virtual void onMessage ( SIOClient client,
const std::string &  data 
)
pure virtual
var onMessage ( var  client,
var  data 
)
pure virtual
local onMessage ( local  client,
local  data 
)
pure virtual

The documentation for this class was generated from the following file: