11 #ifndef __InviteUsersRequest__ 12 #define __InviteUsersRequest__ 14 #include "../../Util/Common.h" 15 #include "../BaseRequest.h" 16 #include "../CreateRoomRequest.h" 17 #include "../../Entities/Invitation/Invitation.h" 18 #include "../../Entities/Invitation/InvitationReply.h" 19 #include "../../Entities/Data/ISFSObject.h" 20 #include "../../Entities/Buddy.h" 21 #include "../../Entities/User.h" 23 #include <boost/shared_ptr.hpp> 26 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 115 InviteUsersRequest(boost::shared_ptr<list<boost::shared_ptr<User> > > invitedUsers,
long int secondsForReply, boost::shared_ptr<ISFSObject> parameters);
116 InviteUsersRequest(boost::shared_ptr<list<boost::shared_ptr<Buddy> > > invitedUsers,
long int secondsForReply, boost::shared_ptr<ISFSObject> parameters);
120 void Validate(boost::shared_ptr<SmartFox> sfs);
122 void Execute (boost::shared_ptr<SmartFox> sfs);
128 static boost::shared_ptr<string> KEY_USER;
130 static boost::shared_ptr<string> KEY_USER_ID;
132 static boost::shared_ptr<string> KEY_INVITATION_ID;
134 static boost::shared_ptr<string> KEY_TIME;
136 static boost::shared_ptr<string> KEY_PARAMS;
138 static boost::shared_ptr<string> KEY_INVITEE_ID;
140 static boost::shared_ptr<string> KEY_INVITED_USERS;
142 static boost::shared_ptr<string> KEY_REPLY_ID;
144 static const long int MAX_INVITATIONS_FROM_CLIENT_SIDE;
145 static const long int MIN_EXPIRY_TIME;
146 static const long int MAX_EXPIRY_TIME;
167 boost::shared_ptr<list<boost::shared_ptr<User> > > invitedUsers;
168 boost::shared_ptr<list<boost::shared_ptr<Buddy> > > invitedBuddy;
169 long int secondsForAnswer;
170 boost::shared_ptr<ISFSObject> parameters;
Definition: Invitation.h:24
Definition: SmartFox.cpp:24
Send one or more generic invitations to a list of Users.
Definition: InviteUsersRequest.h:46
Definition: ISFSArray.h:17