Class WebSocketInputSink

java.lang.Object
java.lang.Thread
org.jgrapes.webconsole.base.WebSocketInputSink
All Implemented Interfaces:
Runnable

public class WebSocketInputSink extends Thread
Assembles Input events until a complete JSON message has been collected and then fires the message as JsonInput event.
  • Field Details

    • mapper

      protected static final com.fasterxml.jackson.databind.ObjectMapper mapper
  • Constructor Details

    • WebSocketInputSink

      public WebSocketInputSink(EventPipeline wsInPipeline, ConsoleConnection consoleChannel)
      Instantiates a new web socket input reader.
      Parameters:
      wsInPipeline - the ws in pipeline
      consoleChannel - the web console channel
  • Method Details