websocket
Class WebSocketMessage
java.lang.Object
websocket.WebSocketMessage
public class WebSocketMessage
- extends java.lang.Object
Constructor Summary |
WebSocketMessage(java.lang.String command,
java.lang.Object data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketMessage
public WebSocketMessage(java.lang.String command,
java.lang.Object data)
getCommand
public java.lang.String getCommand()
setCommand
public void setCommand(java.lang.String command)
getData
public java.lang.Object getData()
setData
public void setData(java.lang.Object data)
toJson
public org.codehaus.jackson.JsonNode toJson()