Attribute
Meaning
data
Everything you will put to the section <data ... ></data> , will be sent to all the clients logged in the room. The section dates must, of course, be in a valid XML format.
errorCode
Error description
41
The message didn't contain the section dates.
42
There are no clients in the room you are logged in.
43
The message couldn't be sent to all clients logged in the room.
XML message of the server to other clients
<protocol>
<received action="roomMsg" sentFrom="test3">
<data><game position="27" time="12"/></data>
</received>
</protocol>
Attribute
Meaning
sentFrom
Name of the client that sent the message.
data
In this section the information, that are sent by the client to other clients in the room, are included.