Class BookieProtocol.Response

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long entryId  
      (package private) int errorCode  
      (package private) long ledgerId  
      (package private) byte opCode  
      (package private) byte protocolVersion  
    • Constructor Summary

      Constructors 
      Constructor Description
      Response()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) long getEntryId()  
      (package private) int getErrorCode()  
      (package private) long getLedgerId()  
      (package private) byte getOpCode()  
      (package private) byte getProtocolVersion()  
      protected void init​(byte protocolVersion, byte opCode, int errorCode, long ledgerId, long entryId)  
      (package private) void recycle()  
      (package private) boolean release()  
      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
      • errorCode

        int errorCode
      • ledgerId

        long ledgerId
      • entryId

        long entryId
    • Constructor Detail

      • Response

        public Response()
    • Method Detail

      • init

        protected void init​(byte protocolVersion,
                            byte opCode,
                            int errorCode,
                            long ledgerId,
                            long entryId)
      • getProtocolVersion

        byte getProtocolVersion()
      • getOpCode

        byte getOpCode()
      • getLedgerId

        long getLedgerId()
      • getEntryId

        long getEntryId()
      • getErrorCode

        int getErrorCode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • release

        boolean release()
      • recycle

        void recycle()