Class JsonClientHandler


  • public class JsonClientHandler
    extends java.lang.Object
    Handler for JSON messages from a TCP socket or WebSocket client.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.HashMap<java.lang.String,​java.util.HashSet<JsonSocketService<?>>> getServices()  
      void onClose()  
      void onMessage​(com.fasterxml.jackson.databind.JsonNode root)
      Process a JSON node and handle appropriately.
      void onMessage​(java.lang.String string)
      Process a JSON string and handle appropriately.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait