PuzzleSDK
SocketIOTest类 参考

#include <SocketIOTest.h>

+ 类 SocketIOTest 继承关系图:
+ SocketIOTest 的协作图:

Public 成员函数

 CREATE_FUNC (SocketIOTest)
 
 SocketIOTest ()
 
virtual ~SocketIOTest ()
 
virtual void onClose (cocos2d::network::SIOClient *client) override
 Used for network level socket close (not for disconnect from the socket.io server) 更多...
 
virtual void onError (cocos2d::network::SIOClient *client, const std::string &data) override
 Used for network level socket error (not for disconnect from the socket.io server) 更多...
 
void closedSocketAction (cocos2d::network::SIOClient *client)
 Common function to call on both socket.io disconnect and websocket close 更多...
 
void onMenuSIOClientClicked (cocos2d::Ref *sender)
 
void onMenuTestMessageClicked (cocos2d::Ref *sender)
 
void onMenuTestEventClicked (cocos2d::Ref *sender)
 
void onMenuTestClientDisconnectClicked (cocos2d::Ref *sender)
 
void onMenuSIOEndpointClicked (cocos2d::Ref *sender)
 
void onMenuTestMessageEndpointClicked (cocos2d::Ref *sender)
 
void onMenuTestEventEndpointClicked (cocos2d::Ref *sender)
 
void onMenuTestEndpointDisconnectClicked (cocos2d::Ref *sender)
 
void testevent (cocos2d::network::SIOClient *client, const std::string &data)
 Socket.io event handler for custom event "testevent" 更多...
 
void echotest (cocos2d::network::SIOClient *client, const std::string &data)
 Socket.io event handler for custom event "echoevent" 更多...
 
void connect (cocos2d::network::SIOClient *client, const std::string &data)
 Socket.io event handler for event "connect" 更多...
 
void disconnect (cocos2d::network::SIOClient *client, const std::string &data)
 Socket.io event handler for event "disconnect" 更多...
 
void message (cocos2d::network::SIOClient *client, const std::string &data)
 Socket.io event handler for event "message" 更多...
 
void json (cocos2d::network::SIOClient *client, const std::string &data)
 Socket.io event handler for event "json" This is only used in v 0.9.x, in 1.x this is handled as a "message" event 更多...
 
virtual std::string title () const override
 
- Public 成员函数 继承自 TestCase
 TestCase ()
 
 ~TestCase ()
 
virtual std::string subtitle () const
 
virtual Type getTestType () const
 
virtual float getDuration () const
 
virtual std::string getExpectedOutput () const
 
virtual std::string getActualOutput () const
 
virtual void restartTestCallback (cocos2d::Ref *sender)
 
virtual void nextTestCallback (cocos2d::Ref *sender)
 
virtual void priorTestCallback (cocos2d::Ref *sender)
 
virtual void onBackCallback (cocos2d::Ref *sender)
 
void setTestSuite (TestSuite *testSuite)
 
TestSuitegetTestSuite () const
 
float getRunTime () const
 
void setTestCaseName (const std::string &name)
 
std::string getTestCaseName () const
 
const cocos2d::Label * getSubtitleLable () const
 
const cocos2d::MenuItemImage * getRestartTestItem () const
 
virtual void onEnter () override
 

Protected 属性

cocos2d::network::SIOClient * _sioClient
 
cocos2d::network::SIOClient * _sioEndpoint
 
cocos2d::Label * _sioClientStatus
 
- Protected 属性 继承自 TestCase
cocos2d::MenuItemImage * _priorTestItem
 
cocos2d::MenuItemImage * _restartTestItem
 
cocos2d::MenuItemImage * _nextTestItem
 
cocos2d::Label * _titleLabel
 
cocos2d::Label * _subtitleLabel
 

额外继承的成员函数

- Public 类型 继承自 TestCase
enum class  Type { ROBUSTNESS , UNIT , GRAPHICAL_STATIC , MANUAL }
 
- Public 属性 继承自 TestCase
CC_CONSTRUCTOR_ACCESS __pad0__: virtual bool init() override
 

详细描述

在文件 SocketIOTest.h38 行定义.

构造及析构函数说明

◆ SocketIOTest()

SocketIOTest::SocketIOTest ( )

在文件 SocketIOTest.cpp40 行定义.

41 : _sioClient(nullptr)
42 , _sioEndpoint(nullptr)
43 , _sioClientStatus(nullptr)
44{//set the clients to nullptr until we are ready to connect
45
46 Size winSize = Director::getInstance()->getWinSize();
47
48 const int MARGIN = 40;
49 const int SPACE = 35;
50
51 auto menuRequest = Menu::create();
52 menuRequest->setPosition(Vec2::ZERO);
53 addChild(menuRequest);
54
55 // Test to create basic client in the default namespace
56 auto labelSIOClient = Label::createWithTTF("Open SocketIO Client", "fonts/arial.ttf", 22);
57 auto itemSIOClient = MenuItemLabel::create(labelSIOClient, CC_CALLBACK_1(SocketIOTest::onMenuSIOClientClicked, this));
58 itemSIOClient->setPosition(Vec2(VisibleRect::left().x + labelSIOClient->getContentSize().width / 2 + 5, winSize.height - MARGIN - SPACE));
59 menuRequest->addChild(itemSIOClient);
60
61 // Test to create a client at the endpoint '/testpoint'
62 auto labelSIOEndpoint = Label::createWithTTF("Open SocketIO Endpoint", "fonts/arial.ttf", 22);
63 auto itemSIOEndpoint = MenuItemLabel::create(labelSIOEndpoint, CC_CALLBACK_1(SocketIOTest::onMenuSIOEndpointClicked, this));
64 itemSIOEndpoint->setPosition(Vec2(VisibleRect::right().x - labelSIOEndpoint->getContentSize().width / 2 - 5, winSize.height - MARGIN - SPACE));
65 menuRequest->addChild(itemSIOEndpoint);
66
67 // Test sending message to default namespace
68 auto labelTestMessage = Label::createWithTTF("Send Test Message", "fonts/arial.ttf", 22);
69 auto itemTestMessage = MenuItemLabel::create(labelTestMessage, CC_CALLBACK_1(SocketIOTest::onMenuTestMessageClicked, this));
70 itemTestMessage->setPosition(Vec2(VisibleRect::left().x + labelTestMessage->getContentSize().width / 2 + 5, winSize.height - MARGIN - 2 * SPACE));
71 menuRequest->addChild(itemTestMessage);
72
73 // Test sending message to the endpoint '/testpoint'
74 auto labelTestMessageEndpoint = Label::createWithTTF("Test Endpoint Message", "fonts/arial.ttf", 22);
75 auto itemTestMessageEndpoint = MenuItemLabel::create(labelTestMessageEndpoint, CC_CALLBACK_1(SocketIOTest::onMenuTestMessageEndpointClicked, this));
76 itemTestMessageEndpoint->setPosition(Vec2(VisibleRect::right().x - labelTestMessageEndpoint->getContentSize().width / 2 - 5, winSize.height - MARGIN - 2 * SPACE));
77 menuRequest->addChild(itemTestMessageEndpoint);
78
79 // Test sending event 'echotest' to default namespace
80 auto labelTestEvent = Label::createWithTTF("Send Test Event", "fonts/arial.ttf", 22);
81 auto itemTestEvent = MenuItemLabel::create(labelTestEvent, CC_CALLBACK_1(SocketIOTest::onMenuTestEventClicked, this));
82 itemTestEvent->setPosition(Vec2(VisibleRect::left().x + labelTestEvent->getContentSize().width / 2 + 5, winSize.height - MARGIN - 3 * SPACE));
83 menuRequest->addChild(itemTestEvent);
84
85 // Test sending event 'echotest' to the endpoint '/testpoint'
86 auto labelTestEventEndpoint = Label::createWithTTF("Test Endpoint Event", "fonts/arial.ttf", 22);
87 auto itemTestEventEndpoint = MenuItemLabel::create(labelTestEventEndpoint, CC_CALLBACK_1(SocketIOTest::onMenuTestEventEndpointClicked, this));
88 itemTestEventEndpoint->setPosition(Vec2(VisibleRect::right().x - labelTestEventEndpoint->getContentSize().width / 2 - 5, winSize.height - MARGIN - 3 * SPACE));
89 menuRequest->addChild(itemTestEventEndpoint);
90
91 // Test disconnecting basic client
92 auto labelTestClientDisconnect = Label::createWithTTF("Disconnect Socket", "fonts/arial.ttf", 22);
93 auto itemClientDisconnect = MenuItemLabel::create(labelTestClientDisconnect, CC_CALLBACK_1(SocketIOTest::onMenuTestClientDisconnectClicked, this));
94 itemClientDisconnect->setPosition(Vec2(VisibleRect::left().x + labelTestClientDisconnect->getContentSize().width / 2 + 5, winSize.height - MARGIN - 4 * SPACE));
95 menuRequest->addChild(itemClientDisconnect);
96
97 // Test disconnecting the endpoint '/testpoint'
98 auto labelTestEndpointDisconnect = Label::createWithTTF("Disconnect Endpoint", "fonts/arial.ttf", 22);
99 auto itemTestEndpointDisconnect = MenuItemLabel::create(labelTestEndpointDisconnect, CC_CALLBACK_1(SocketIOTest::onMenuTestEndpointDisconnectClicked, this));
100 itemTestEndpointDisconnect->setPosition(Vec2(VisibleRect::right().x - labelTestEndpointDisconnect->getContentSize().width / 2 - 5, winSize.height - MARGIN - 4 * SPACE));
101 menuRequest->addChild(itemTestEndpointDisconnect);
102
103 // Shared Status Label
104 _sioClientStatus = Label::createWithTTF("Not connected...", "fonts/arial.ttf", 14, Size(320, 100), TextHAlignment::LEFT);
105 _sioClientStatus->setAnchorPoint(Vec2(0, 0));
107 this->addChild(_sioClientStatus);
108}
void onMenuSIOEndpointClicked(cocos2d::Ref *sender)
cocos2d::network::SIOClient * _sioClient
Definition: SocketIOTest.h:104
void onMenuTestEndpointDisconnectClicked(cocos2d::Ref *sender)
cocos2d::Label * _sioClientStatus
Definition: SocketIOTest.h:106
void onMenuTestEventClicked(cocos2d::Ref *sender)
void onMenuTestEventEndpointClicked(cocos2d::Ref *sender)
void onMenuTestClientDisconnectClicked(cocos2d::Ref *sender)
void onMenuTestMessageEndpointClicked(cocos2d::Ref *sender)
void onMenuSIOClientClicked(cocos2d::Ref *sender)
cocos2d::network::SIOClient * _sioEndpoint
Definition: SocketIOTest.h:104
void onMenuTestMessageClicked(cocos2d::Ref *sender)
static cocos2d::Vec2 left()
Definition: VisibleRect.cpp:45
static cocos2d::Vec2 rightBottom()
Definition: VisibleRect.cpp:93
static cocos2d::Vec2 right()
Definition: VisibleRect.cpp:51

引用了 _sioClientStatus, VisibleRect::left(), onMenuSIOClientClicked(), onMenuSIOEndpointClicked(), onMenuTestClientDisconnectClicked(), onMenuTestEndpointDisconnectClicked(), onMenuTestEventClicked(), onMenuTestEventEndpointClicked(), onMenuTestMessageClicked(), onMenuTestMessageEndpointClicked(), VisibleRect::right() , 以及 VisibleRect::rightBottom().

+ 函数调用图:

◆ ~SocketIOTest()

SocketIOTest::~SocketIOTest ( )
virtual

在文件 SocketIOTest.cpp111 行定义.

112{
113}

成员函数说明

◆ closedSocketAction()

void SocketIOTest::closedSocketAction ( cocos2d::network::SIOClient *  client)

Common function to call on both socket.io disconnect and websocket close

在文件 SocketIOTest.cpp182 行定义.

183{
184 //set the local pointer to nullptr or connect to another client
185 //the client object will be released on its own after this method completes
186 if (client == _sioClient) {
187
188 _sioClient = nullptr;
189 }
190 else if (client == _sioEndpoint) {
191
192 _sioEndpoint = nullptr;
193 }
194}

引用了 _sioClient , 以及 _sioEndpoint.

被这些函数引用 disconnect() , 以及 onClose().

+ 这是这个函数的调用关系图:

◆ connect()

void SocketIOTest::connect ( cocos2d::network::SIOClient *  client,
const std::string &  data 
)

Socket.io event handler for event "connect"

在文件 SocketIOTest.cpp160 行定义.

161{
162 CCLOGINFO("SocketIOTest::connect called");
163
164 std::stringstream s;
165 s << client->getTag() << " connected!";
166 _sioClientStatus->setString(s.str().c_str());
167
168}

引用了 _sioClientStatus.

被这些函数引用 onMenuSIOClientClicked() , 以及 onMenuSIOEndpointClicked().

+ 这是这个函数的调用关系图:

◆ CREATE_FUNC()

SocketIOTest::CREATE_FUNC ( SocketIOTest  )

◆ disconnect()

void SocketIOTest::disconnect ( cocos2d::network::SIOClient *  client,
const std::string &  data 
)

Socket.io event handler for event "disconnect"

在文件 SocketIOTest.cpp170 行定义.

171{
172 CCLOGINFO("SocketIOTest::disconnect called");
173
174 std::stringstream s;
175 s << client->getTag() << " disconnected by server!";
176 _sioClientStatus->setString(s.str().c_str());
177
178 this->closedSocketAction(client);
179
180}
void closedSocketAction(cocos2d::network::SIOClient *client)
Common function to call on both socket.io disconnect and websocket close

引用了 _sioClientStatus , 以及 closedSocketAction().

被这些函数引用 onMenuSIOClientClicked() , 以及 onMenuSIOEndpointClicked().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ echotest()

void SocketIOTest::echotest ( cocos2d::network::SIOClient *  client,
const std::string &  data 
)

Socket.io event handler for custom event "echoevent"

在文件 SocketIOTest.cpp127 行定义.

127 {
128
129 CCLOGINFO("SocketIOTest::echotest called with data: %s", data.c_str());
130
131 std::stringstream s;
132 s << client->getTag() << " received event echotest with data: " << data.c_str();
133
134 _sioClientStatus->setString(s.str().c_str());
135
136}

引用了 _sioClientStatus.

被这些函数引用 onMenuSIOClientClicked() , 以及 onMenuSIOEndpointClicked().

+ 这是这个函数的调用关系图:

◆ json()

void SocketIOTest::json ( cocos2d::network::SIOClient *  client,
const std::string &  data 
)

Socket.io event handler for event "json" This is only used in v 0.9.x, in 1.x this is handled as a "message" event

在文件 SocketIOTest.cpp150 行定义.

151{
152 CCLOGINFO("SocketIOTest::json received: %s", data.c_str());
153
154 std::stringstream s;
155 s << client->getTag() << " received json message with content: " << data.c_str();
156 _sioClientStatus->setString(s.str().c_str());
157
158}

引用了 _sioClientStatus.

被这些函数引用 onMenuSIOClientClicked() , 以及 onMenuSIOEndpointClicked().

+ 这是这个函数的调用关系图:

◆ message()

void SocketIOTest::message ( cocos2d::network::SIOClient *  client,
const std::string &  data 
)

Socket.io event handler for event "message"

在文件 SocketIOTest.cpp140 行定义.

141{
142 CCLOGINFO("SocketIOTest::message received: %s", data.c_str());
143
144 std::stringstream s;
145 s << client->getTag() << " received message with content: " << data.c_str();
146 _sioClientStatus->setString(s.str().c_str());
147
148}

引用了 _sioClientStatus.

被这些函数引用 onMenuSIOClientClicked() , 以及 onMenuSIOEndpointClicked().

+ 这是这个函数的调用关系图:

◆ onClose()

void SocketIOTest::onClose ( cocos2d::network::SIOClient *  client)
overridevirtual

Used for network level socket close (not for disconnect from the socket.io server)

在文件 SocketIOTest.cpp297 行定义.

298{
299 CCLOGINFO("SocketIOTest::onClose called");
300
301 std::stringstream s;
302 s << client->getTag() << " closed!";
303 _sioClientStatus->setString(s.str().c_str());
304
305 this->closedSocketAction(client);
306
307}

引用了 _sioClientStatus , 以及 closedSocketAction().

+ 函数调用图:

◆ onError()

void SocketIOTest::onError ( cocos2d::network::SIOClient *  client,
const std::string &  data 
)
overridevirtual

Used for network level socket error (not for disconnect from the socket.io server)

在文件 SocketIOTest.cpp309 行定义.

310{
311 CCLOGERROR("SocketIOTest::onError received: %s", data.c_str());
312
313 std::stringstream s;
314 s << client->getTag() << " received error with content: " << data.c_str();
315 _sioClientStatus->setString(s.str().c_str());
316}

引用了 _sioClientStatus.

◆ onMenuSIOClientClicked()

void SocketIOTest::onMenuSIOClientClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp196 行定义.

197{
198 //create a client by using this static method, url does not need to contain the protocol
199 _sioClient = SocketIO::connect("ws://tools.itharbors.com:4000", *this);
200 //you may set a tag for the client for reference in callbacks
201 _sioClient->setTag("Test Client");
202
203 //register event callbacks using the CC_CALLBACK_2() macro and passing the instance of the target class
204 _sioClient->on("testevent", CC_CALLBACK_2(SocketIOTest::testevent, this));
205 _sioClient->on("echotest", CC_CALLBACK_2(SocketIOTest::echotest, this));
206 _sioClient->on("message", CC_CALLBACK_2(SocketIOTest::message, this));
207 _sioClient->on("json", CC_CALLBACK_2(SocketIOTest::json, this));
208 _sioClient->on("connect", CC_CALLBACK_2(SocketIOTest::connect, this));
209 _sioClient->on("disconnect", CC_CALLBACK_2(SocketIOTest::disconnect, this));
210
211}
void echotest(cocos2d::network::SIOClient *client, const std::string &data)
Socket.io event handler for custom event "echoevent"
void connect(cocos2d::network::SIOClient *client, const std::string &data)
Socket.io event handler for event "connect"
void testevent(cocos2d::network::SIOClient *client, const std::string &data)
Socket.io event handler for custom event "testevent"
void message(cocos2d::network::SIOClient *client, const std::string &data)
Socket.io event handler for event "message"
void json(cocos2d::network::SIOClient *client, const std::string &data)
Socket.io event handler for event "json" This is only used in v 0.9.x, in 1.x this is handled as a "m...
void disconnect(cocos2d::network::SIOClient *client, const std::string &data)
Socket.io event handler for event "disconnect"

引用了 _sioClient, connect(), disconnect(), echotest(), json(), message() , 以及 testevent().

被这些函数引用 SocketIOTest().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ onMenuSIOEndpointClicked()

void SocketIOTest::onMenuSIOEndpointClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp213 行定义.

214{
215 //repeat the same connection steps for the namespace "testpoint"
216 _sioEndpoint = SocketIO::connect("ws://tools.itharbors.com:4000/testpoint", *this);
217 //a tag to differentiate in shared callbacks
218 _sioEndpoint->setTag("Test Endpoint");
219
220 //demonstrating how callbacks can be shared within a delegate
221 _sioEndpoint->on("testevent", CC_CALLBACK_2(SocketIOTest::testevent, this));
222 _sioEndpoint->on("echotest", CC_CALLBACK_2(SocketIOTest::echotest, this));
223 _sioEndpoint->on("message", CC_CALLBACK_2(SocketIOTest::message, this));
224 _sioEndpoint->on("json", CC_CALLBACK_2(SocketIOTest::json, this));
225 _sioEndpoint->on("connect", CC_CALLBACK_2(SocketIOTest::connect, this));
226 _sioEndpoint->on("disconnect", CC_CALLBACK_2(SocketIOTest::disconnect, this));
227
228}

引用了 _sioEndpoint, connect(), disconnect(), echotest(), json(), message() , 以及 testevent().

被这些函数引用 SocketIOTest().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ onMenuTestClientDisconnectClicked()

void SocketIOTest::onMenuTestClientDisconnectClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp260 行定义.

261{
262 // Disconnecting from the default namespace "" or "/" will also disconnect all other endpoints
263 std::stringstream s;
264
265 if (_sioClient != nullptr) {
266 s << _sioClient->getTag() << " manually closed!";
267 _sioClient->disconnect();
268 _sioClient = nullptr;
269 }
270 else {
271 s << "Socket.io Test Client not initialized!";
272 }
273
274 _sioClientStatus->setString(s.str().c_str());
275
276}

引用了 _sioClient , 以及 _sioClientStatus.

被这些函数引用 SocketIOTest().

+ 这是这个函数的调用关系图:

◆ onMenuTestEndpointDisconnectClicked()

void SocketIOTest::onMenuTestEndpointDisconnectClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp278 行定义.

279{
280 std::stringstream s;
281
282 if (_sioEndpoint != nullptr) {
283 s << _sioEndpoint->getTag() << " manually closed!";
284 _sioEndpoint->disconnect();
285 _sioEndpoint = nullptr;
286 }
287 else {
288 s << "Socket.io Test Endpoint not initialized!";
289 }
290
291 _sioClientStatus->setString(s.str().c_str());
292
293}

引用了 _sioClientStatus , 以及 _sioEndpoint.

被这些函数引用 SocketIOTest().

+ 这是这个函数的调用关系图:

◆ onMenuTestEventClicked()

void SocketIOTest::onMenuTestEventClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp245 行定义.

246{
247 //check that the socket is != nullptr before sending or emitting events
248 //the client should be nullptr either before initialization and connection or after disconnect
249 if (_sioClient != nullptr) _sioClient->emit("echotest", "{\"name\":\"myname\",\"type\":\"mytype\"}");
250
251}

引用了 _sioClient.

被这些函数引用 SocketIOTest().

+ 这是这个函数的调用关系图:

◆ onMenuTestEventEndpointClicked()

void SocketIOTest::onMenuTestEventEndpointClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp253 行定义.

254{
255
256 if (_sioEndpoint != nullptr) _sioEndpoint->emit("echotest", "{\"name\":\"myname\",\"type\":\"mytype\"}");
257
258}

引用了 _sioEndpoint.

被这些函数引用 SocketIOTest().

+ 这是这个函数的调用关系图:

◆ onMenuTestMessageClicked()

void SocketIOTest::onMenuTestMessageClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp230 行定义.

231{
232 //check that the socket is != nullptr before sending or emitting events
233 //the client should be nullptr either before initialization and connection or after disconnect
234 if (_sioClient != nullptr) _sioClient->send("Hello Socket.IO!");
235
236}

引用了 _sioClient.

被这些函数引用 SocketIOTest().

+ 这是这个函数的调用关系图:

◆ onMenuTestMessageEndpointClicked()

void SocketIOTest::onMenuTestMessageEndpointClicked ( cocos2d::Ref *  sender)

在文件 SocketIOTest.cpp238 行定义.

239{
240
241 if (_sioEndpoint != nullptr) _sioEndpoint->send("Hello Socket.IO!");
242
243}

引用了 _sioEndpoint.

被这些函数引用 SocketIOTest().

+ 这是这个函数的调用关系图:

◆ testevent()

void SocketIOTest::testevent ( cocos2d::network::SIOClient *  client,
const std::string &  data 
)

Socket.io event handler for custom event "testevent"

在文件 SocketIOTest.cpp116 行定义.

116 {
117
118 CCLOGINFO("SocketIOTest::testevent called with data: %s", data.c_str());
119
120 std::stringstream s;
121 s << client->getTag() << " received event testevent with data: " << data.c_str();
122
123 _sioClientStatus->setString(s.str().c_str());
124
125}

引用了 _sioClientStatus.

被这些函数引用 onMenuSIOClientClicked() , 以及 onMenuSIOEndpointClicked().

+ 这是这个函数的调用关系图:

◆ title()

virtual std::string SocketIOTest::title ( ) const
inlineoverridevirtual

重载 TestCase .

在文件 SocketIOTest.h100 行定义.

100{ return "SocketIO Extension Test"; }

类成员变量说明

◆ _sioClient

cocos2d::network::SIOClient* SocketIOTest::_sioClient
protected

◆ _sioClientStatus

cocos2d::Label* SocketIOTest::_sioClientStatus
protected

◆ _sioEndpoint

cocos2d::network::SIOClient * SocketIOTest::_sioEndpoint
protected

该类的文档由以下文件生成: