Class Communication.WebSocketClient

  • Enclosing class:
    Communication

    public static class Communication.WebSocketClient
    extends Object
    • Method Detail

      • getSocket

        public io.socket.client.Socket getSocket()
      • connect

        public void connect()
      • disconnect

        public void disconnect()
      • broadcast

        public void broadcast​(String message)
                       throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • broadcast

        public void broadcast​(com.fasterxml.jackson.databind.node.ObjectNode message)
                       throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • isConnected

        public boolean isConnected()