| Package | Description |
|---|---|
| websocket.drawboard |
| Class and Description |
|---|
| Client
Represents a client with methods to send messages asynchronously.
|
| DrawMessage
A message that represents a drawing action.
|
| DrawMessage.ParseException |
| Room
A Room represents a drawboard where a number of
users participate.
Note: Instance methods should only be invoked by calling Room.invokeAndWait(Runnable) to ensure access is correctly synchronized. |
| Room.MessageType
Specifies the type of a room message that is sent to a client.
Note: Currently we are sending simple string messages - for production apps, a JSON lib should be used for object-level messages. The number (single char) will be prefixed to the string when sending the message. |
| Room.Player
A Player participates in a Room.
|
Copyright © 2015 WSO2 Inc. All rights reserved.