Package sfs3.client.requests
Class UnbanUsersFromRoomRequest
java.lang.Object
sfs3.client.requests.BaseRequest
sfs3.client.requests.UnbanUsersFromRoomRequest
- All Implemented Interfaces:
sfs3.client.requests.IClientRequest
-
Field Summary
FieldsFields inherited from class sfs3.client.requests.BaseRequest
AddBuddy, AdminMessage, AutoJoin, BanUser, BanUsersFromRoom, BlockBuddy, CallExtension, ChangeRoomCapacity, ChangeRoomName, ChangeRoomPassword, ClusterInviteUsers, ClusterJoinOrCreate, CreateRoom, CreateSFSGame, FindRooms, FindUsers, GameServerConnectionRequired, GenericMessage, GetRoomList, GoOnline, Handshake, InitBuddyList, InvitationReply, InviteUser, JoinRoom, JoinRoomInvite, KEY_ERROR_CODE, KEY_ERROR_PARAMS, KickUser, LeaveRoom, Login, Logout, ManualDisconnection, ModeratorMessage, ObjectMessage, PingPong, PlayerToSpectator, PrivateMessage, PublicMessage, QuickJoinGame, QuickJoinOrCreateRoom, RemoveBuddy, SetBuddyVariables, SetRoomVariables, SetUserPosition, SetUserVariables, sfso, SpectatorToPlayer, SubscribeRoomGroup, targetController, UdpInit, UnbanUsersFromRoom, UnsubscribeRoomGroup -
Constructor Summary
ConstructorsConstructorDescriptionUnbanUsersFromRoomRequest(String userName, Room theRoom) Unbans a User that was previously banned in the specified Room.UnbanUsersFromRoomRequest(String userName, Room theRoom, String message) Unbans a User that was previously banned in the specified Room with an optional moderator message.UnbanUsersFromRoomRequest(List<String> userNames, Room theRoom, String message) Unbans a group of Users that were previously banned in the specified Room. -
Method Summary
Methods inherited from class sfs3.client.requests.BaseRequest
getId, getRequest, getTargetController, getTransportType, setId, setTargetController, setTransportType
-
Field Details
-
KEY_USERS
- See Also:
- Internal
-
KEY_ROOM
- See Also:
-
KEY_MESSAGE
- See Also:
-
-
Constructor Details
-
UnbanUsersFromRoomRequest
Unbans a User that was previously banned in the specified Room.NOTE: To be able to unban a User the sender must be the owner of the Room or have Moderator/Admin privileges.
- Parameters:
userName- the User's nametheRoom- the target Room
-
UnbanUsersFromRoomRequest
Unbans a User that was previously banned in the specified Room with an optional moderator message. If a message is provided it is sent first, then the User is unbanned after a short delay (2-3 seconds).NOTE: To be able to unban a User the sender must be the owner of the Room or have Moderator/Admin privileges.
- Parameters:
userName- the User's nametheRoom- the target Roommessage- an optional message
-
UnbanUsersFromRoomRequest
Unbans a group of Users that were previously banned in the specified Room. If a message is provided it is sent first, then the User is unbanned after a short delay (2-3 seconds).NOTE: To be able to unban a User the sender must be the owner of the Room or have Moderator/Admin privileges.
- Parameters:
userNames- a list of Users (max 10)theRoom- the target Roommessage- an optional ban message
-
-
Method Details
-
validate
- Throws:
SFSValidationException
-
execute
- Throws:
SFSException
-