Class LeaveRoomRequest

java.lang.Object
sfs3.client.requests.BaseRequest
sfs3.client.requests.LeaveRoomRequest
All Implemented Interfaces:
sfs3.client.requests.IClientRequest

public class LeaveRoomRequest extends BaseRequest
Leaves one of the Rooms joined by the current user.

Depending on the Room configuration defined upon its creation (see the RoomSettings.events setting), when the current user leaves it, the following events might be fired: userExitRoom, dispatched to all the users inside the Room (including the current user then) to warn them that a user has gone away; userCountChange, dispatched to all clients which subscribed the Group to which the Room belongs, to update the count of users inside the Room.

See Also: