模块 org.redkale

类 SncpHeader


  • public class SncpHeader
    extends Object
    作者:
    zhangjx
    • 字段详细资料

      • HEADER_SUBSIZE

        public static final int HEADER_SUBSIZE
        另请参阅:
        常量字段值
      • KEEPALIVE_ON

        public static final byte KEEPALIVE_ON
        另请参阅:
        常量字段值
      • KEEPALIVE_OFF

        public static final byte KEEPALIVE_OFF
        另请参阅:
        常量字段值
    • 方法详细资料

      • isValid

        public boolean isValid()
      • isKeepAlive

        public boolean isKeepAlive()
      • checkValid

        public boolean checkValid​(SncpHeader other)
      • calcHeaderSize

        public static int calcHeaderSize​(SncpRequest request)
      • getSeqid

        public Long getSeqid()
      • getServiceid

        public Uint128 getServiceid()
      • getSncpVersion

        public int getSncpVersion()
      • getActionid

        public Uint128 getActionid()
      • getAddrBytes

        public byte[] getAddrBytes()
      • getAddrPort

        public int getAddrPort()
      • getTimestamp

        public long getTimestamp()
      • getTraceid

        public String getTraceid()
      • getRetcode

        public int getRetcode()
      • getBodyLength

        public int getBodyLength()