11 #ifndef __LoginRequest__ 12 #define __LoginRequest__ 14 #include "../Util/Common.h" 15 #include "BaseRequest.h" 17 #include <boost/shared_ptr.hpp> 20 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 25 using namespace Sfs2X;
98 LoginRequest(
string userName,
string password,
string zoneName, boost::shared_ptr<ISFSObject> parameters);
103 LoginRequest(
string userName,
string password,
string zoneName);
117 void Validate(boost::shared_ptr<SmartFox> sfs);
119 void Execute(boost::shared_ptr<SmartFox> sfs);
125 static boost::shared_ptr<string> KEY_ZONE_NAME;
127 static boost::shared_ptr<string> KEY_USER_NAME;
129 static boost::shared_ptr<string> KEY_PASSWORD;
131 static boost::shared_ptr<string> KEY_PARAMS;
133 static boost::shared_ptr<string> KEY_PRIVILEGE_ID;
135 static boost::shared_ptr<string> KEY_ID;
137 static boost::shared_ptr<string> KEY_ROOMLIST;
139 static boost::shared_ptr<string> KEY_RECONNECTION_SECONDS;
157 void Init(
string userName,
string password,
string zoneName, boost::shared_ptr<ISFSObject> parameters);
163 boost::shared_ptr<string> zoneName;
164 boost::shared_ptr<string> userName;
165 boost::shared_ptr<string> password;
166 boost::shared_ptr<ISFSObject> parameters;
Definition: SFSCodecError.cpp:14
Join one of the Zones in the Server.
Definition: LoginRequest.h:41
Definition: SmartFox.cpp:24
Definition: ISFSArray.h:17