Class ClientWebSocketService

    • Constructor Detail

      • ClientWebSocketService

        public ClientWebSocketService​(java.lang.String address)
                               throws javax.net.ssl.SSLException
        Throws:
        javax.net.ssl.SSLException
    • Method Detail

      • appendTypeAdapters

        public static void appendTypeAdapters​(com.google.gson.GsonBuilder builder)
      • eventHandle

        public abstract <T extends WebSocketEvent> void eventHandle​(T event)
      • registerRequests

        public void registerRequests()
      • registerResults

        public void registerResults()
      • waitIfNotConnected

        public void waitIfNotConnected()
      • sendObject

        public void sendObject​(java.lang.Object obj)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • sendObject

        public void sendObject​(java.lang.Object obj,
                               java.lang.reflect.Type type)
                        throws java.io.IOException
        Throws:
        java.io.IOException