Class WireCommands.AppendSetup

    • Constructor Detail

      • AppendSetup

        @ConstructorProperties({"requestId","segment","writerId","lastEventNumber"})
        public AppendSetup​(long requestId,
                           java.lang.String segment,
                           java.util.UUID writerId,
                           long lastEventNumber)
    • Method Detail

      • writeFields

        public void writeFields​(java.io.DataOutput out)
                         throws java.io.IOException
        Specified by:
        writeFields in interface WireCommand
        Throws:
        java.io.IOException
      • readFrom

        public static WireCommand readFrom​(java.io.DataInput in,
                                           int length)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getRequestId

        public long getRequestId()
        Specified by:
        getRequestId in interface Reply
      • getSegment

        public java.lang.String getSegment()
      • getWriterId

        public java.util.UUID getWriterId()
      • getLastEventNumber

        public long getLastEventNumber()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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