Interface WebSocketListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onClose​(javax.websocket.Session session, javax.websocket.CloseReason closeReason)
      Interface method to be overriden by WebSocket files and AwsProductReceiver
      void onConnectFail()
      Interface method to be overriden by WebSocket files and AwsProductReceiver
      void onMessage​(java.lang.String message)
      Interface method to be overriden by WebSocket files and AwsProductReceiver
      void onOpen​(javax.websocket.Session session)
      Interface method to be overriden by WebSocket files and AwsProductReceiver
      void onReconnectFail()
      Interface method to be overriden by WebSocket files and AwsProductReceiver
    • Method Detail

      • onOpen

        void onOpen​(javax.websocket.Session session)
             throws java.io.IOException
        Interface method to be overriden by WebSocket files and AwsProductReceiver
        Parameters:
        session - Session to open
        Throws:
        java.io.IOException - IOException
      • onMessage

        void onMessage​(java.lang.String message)
                throws java.io.IOException
        Interface method to be overriden by WebSocket files and AwsProductReceiver
        Parameters:
        message - String message
        Throws:
        java.io.IOException - IOException
      • onClose

        void onClose​(javax.websocket.Session session,
                     javax.websocket.CloseReason closeReason)
              throws java.io.IOException
        Interface method to be overriden by WebSocket files and AwsProductReceiver
        Parameters:
        session - Session to close
        closeReason - Reason for closing session
        Throws:
        java.io.IOException - IOException
      • onConnectFail

        void onConnectFail()
                    throws java.io.IOException
        Interface method to be overriden by WebSocket files and AwsProductReceiver
        Throws:
        java.io.IOException - IOException
      • onReconnectFail

        void onReconnectFail()
                      throws java.io.IOException
        Interface method to be overriden by WebSocket files and AwsProductReceiver
        Throws:
        java.io.IOException - IOException