Class WireCommands.Hello

    • Constructor Detail

      • Hello

        @ConstructorProperties({"highVersion","lowVersion"})
        public Hello​(int highVersion,
                     int lowVersion)
    • 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 WireCommands.Hello readFrom​(java.io.DataInput in,
                                                  int length)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getHighVersion

        public int getHighVersion()
      • getLowVersion

        public int getLowVersion()
      • 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