Class BookieProtocol.Request

    • Field Summary

      Modifier and Type Field Description
      (package private) long entryId  
      (package private) short flags  
      (package private) long ledgerId  
      (package private) byte[] masterKey  
      (package private) byte opCode  
      (package private) byte protocolVersion  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) long getEntryId()  
      (package private) short getFlags()  
      (package private) long getLedgerId()  
      (package private) byte[] getMasterKey()  
      (package private) byte getOpCode()  
      (package private) byte getProtocolVersion()  
      (package private) boolean hasMasterKey()  
      protected void init​(byte protocolVersion, byte opCode, long ledgerId, long entryId, short flags, byte[] masterKey)  
      (package private) boolean isHighPriority()  
      void recycle()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • protocolVersion

        byte protocolVersion
      • opCode

        byte opCode
      • ledgerId

        long ledgerId
      • entryId

        long entryId
      • flags

        short flags
      • masterKey

        byte[] masterKey
    • Constructor Detail

      • Request

        public Request()
    • Method Detail

      • init

        protected void init​(byte protocolVersion,
                            byte opCode,
                            long ledgerId,
                            long entryId,
                            short flags,
                            byte[] masterKey)
      • getProtocolVersion

        byte getProtocolVersion()
      • getOpCode

        byte getOpCode()
      • getLedgerId

        long getLedgerId()
      • getEntryId

        long getEntryId()
      • getFlags

        short getFlags()
      • hasMasterKey

        boolean hasMasterKey()
      • getMasterKey

        byte[] getMasterKey()
      • isHighPriority

        boolean isHighPriority()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • recycle

        public void recycle()