Class AWebsocketConnection

    • Field Detail

      • NULL_MSG_COMMAND

        protected static final java.lang.String NULL_MSG_COMMAND
        Command to generate a null message (send as Text frame).
        See Also:
        Constant Field Values
      • hasheader

        protected boolean hasheader
        Flag if the header was receiver: Needed because header can be null!
      • header

        protected byte[] header
        Header saved for handling once body arrives.
      • maxmsgsize

        protected int maxmsgsize
        Current maximum message size.
      • bytesreceived

        protected int bytesreceived
        Current bytes received.
    • Method Detail

      • handleMessagePayload

        protected void handleMessagePayload​(byte[] payload)
        Handles a websocket message payload.
        Parameters:
        payload - The payload.