Class SimpleServlet.SimpleWebSocket

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleWebSocket()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onError​(java.lang.Throwable thrwbl)  
      void onMessage​(java.lang.String string)  
      void onOpen​(org.eclipse.jetty.websocket.api.Session cnctn)  
      void sendMessage​(java.lang.String message)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sendMessage

        public void sendMessage​(java.lang.String message)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • onOpen

        @OnWebSocketConnect
        public void onOpen​(org.eclipse.jetty.websocket.api.Session cnctn)
      • onError

        @OnWebSocketError
        public void onError​(java.lang.Throwable thrwbl)
      • onMessage

        @OnWebSocketMessage
        public void onMessage​(java.lang.String string)