Interface CommonServerMessageBlock

    • Method Detail

      • encode

        int encode​(byte[] dst,
                   int dstIndex)
        Parameters:
        dst -
        dstIndex -
        Returns:
        message length
      • getMid

        long getMid()
        Returns:
        the message id
      • setMid

        void setMid​(long mid)
        Parameters:
        mid -
      • getCommand

        int getCommand()
        Returns:
        the command
      • setCommand

        void setCommand​(int command)
        Parameters:
        command -
      • setUid

        void setUid​(int uid)
        Parameters:
        uid -
      • setExtendedSecurity

        void setExtendedSecurity​(boolean extendedSecurity)
        Parameters:
        extendedSecurity -
      • setSessionId

        void setSessionId​(long sessionId)
        Parameters:
        sessionId -
      • reset

        void reset()