Interface SocketIOAck

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isAcknowledged()
      Checks if this ack is already handled.
      void send​(java.lang.Object... arguments)
      Sends the ack data back to the client.
      void send​(JSONArray arguments)
      Sends the ack data back to the client.
    • Method Detail

      • isAcknowledged

        boolean isAcknowledged()
        Checks if this ack is already handled.
        Returns:
        true if ack was sent, false otherwise.
      • send

        void send​(@Nonnull
                  java.lang.Object... arguments)
           throws java.io.IOException
        Sends the ack data back to the client.
        Parameters:
        arguments - ack data.
        Throws:
        java.io.IOException - if an error occurs
      • send

        void send​(@Nonnull
                  JSONArray arguments)
           throws java.io.IOException
        Sends the ack data back to the client.
        Parameters:
        arguments - ack data.
        Throws:
        java.io.IOException - if an error occurs