roomLogin - Logging in of the client to a room
XML request, sent by the client to the server
<protocol>
        <roomLogin room="room1" [password="a1"] [sid="2"]/>
</protocol>
                    
Attribute
Meaning
room
Name of the room we want to log in. List of all available rooms can be acquired using the request roomList
password
In order to enter a room the user has to use a password,under the condition it is required. List of rooms and passwords are defined by administrator in the configuration file for every domain
XML response of the server to the client
<protocol>
       <response action="roomLogin" errorCode="0" [sid="2"] />
</protocol>
                    
errorCode
Error description
21
Incorrect room access information.
22
Unsuccessful attempt to log in the room due to exceeded limit of logged clients.
23
The attempt to send information to all logged clients in the room was unsuccessful.
XML message of the server to other clients
<protocol>
       <received action="roomLogin" sentFrom="client1"><data room="room1"/></received>
</protocol>
                        
Attribute
Meaning
sentFrom
Name of the client that has been logged in the room.
room
Name of the room where the client has been logged in.