RequestHeader (Apache ZooKeeper - Jute 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.proto

## Class RequestHeader

- java.lang.Object
- - org.apache.zookeeper.proto.RequestHeader

- All Implemented Interfaces:
    Record

      @InterfaceAudience.Public
      public class RequestHeader
      extends Object
      implements Record

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RequestHeader()`
    `RequestHeader(int xid, int type)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(Object peer_)`
    `void` | `deserialize(InputArchive a_, String tag)`
    `boolean` | `equals(Object peer_)`
    `int` | `getType()`
    `int` | `getXid()`
    `int` | `hashCode()`
    `void` | `readFields(DataInput in)`
    `void` | `serialize(OutputArchive a_, String tag)`
    `void` | `setType(int m_)`
    `void` | `setXid(int m_)`
    `static String` | `signature()`
    `String` | `toString()`
    `void` | `write(DataOutput out)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RequestHeader

          public RequestHeader()

    - #### RequestHeader

          public RequestHeader(int xid,
                               int type)

  - ### Method Detail

    - #### getXid

          public int getXid()

    - #### setXid

          public void setXid(int m_)

    - #### getType

          public int getType()

    - #### setType

          public void setType(int m_)

    - #### serialize

          public void serialize(OutputArchive a_,
                                String tag)
                         throws IOException

      Specified by:
        `serialize` in interface `Record`
      Throws:
        `IOException`

    - #### deserialize

          public void deserialize(InputArchive a_,
                                  String tag)
                           throws IOException

      Specified by:
        `deserialize` in interface `Record`
      Throws:
        `IOException`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### write

          public void write(DataOutput out)
                     throws IOException

      Throws:
        `IOException`

    - #### readFields

          public void readFields(DataInput in)
                          throws IOException

      Throws:
        `IOException`

    - #### compareTo

          public int compareTo(Object peer_)
                        throws ClassCastException

      Throws:
        `ClassCastException`

    - #### equals

          public boolean equals(Object peer_)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### signature

          public static String signature()

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.