cocos2d-x  3.0-rc0
 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
virtual void onMessage (SIOClient *client, const std::string &data)=0
local onMessage ( local client, local data)
virtual void onClose (SIOClient *client)=0
virtual void onError (SIOClient *client, const std::string &data)=0
local onError ( local client, 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 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: