Class WebSocketDecodeContext

java.lang.Object
org.yamcs.http.websocket.WebSocketDecodeContext

public class WebSocketDecodeContext extends Object
The common wrapper fields of messages sent over the websocket The only we still need this if because the javascript handling needs a shared JsonParser to handle processing the wrapper fields first, and the nested data second.
  • Constructor Details

    • WebSocketDecodeContext

      public WebSocketDecodeContext(int protocolVersion, int messageType, int requestId, String resource, String operation)
  • Method Details

    • getProtocolVersion

      public int getProtocolVersion()
    • getMessageType

      public int getMessageType()
    • getRequestId

      public int getRequestId()
    • getResource

      public String getResource()
    • getOperation

      public String getOperation()
    • getData

      public Object getData()
    • toString

      public String toString()
      Overrides:
      toString in class Object