websocket
Class WebSocketMessage

java.lang.Object
  extended by websocket.WebSocketMessage

public class WebSocketMessage
extends java.lang.Object


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

Constructor Detail

WebSocketMessage

public WebSocketMessage(java.lang.String command,
                        java.lang.Object data)
Method Detail

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()