org.apache.zookeeper.proto
Class op_result_t

java.lang.Object
  extended by org.apache.zookeeper.proto.op_result_t
All Implemented Interfaces:
org.apache.jute.Record

public class op_result_t
extends Object
implements org.apache.jute.Record


Constructor Summary
op_result_t()
           
op_result_t(int rc, int op, byte[] response)
           
 
Method Summary
 int compareTo(Object peer_)
           
 void deserialize(org.apache.jute.InputArchive a_, String tag)
           
 boolean equals(Object peer_)
           
 int getOp()
           
 int getRc()
           
 byte[] getResponse()
           
 int hashCode()
           
 void readFields(DataInput in)
           
 void serialize(org.apache.jute.OutputArchive a_, String tag)
           
 void setOp(int m_)
           
 void setRc(int m_)
           
 void setResponse(byte[] 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

op_result_t

public op_result_t()

op_result_t

public op_result_t(int rc,
                   int op,
                   byte[] response)
Method Detail

getRc

public int getRc()

setRc

public void setRc(int m_)

getOp

public int getOp()

setOp

public void setOp(int m_)

getResponse

public byte[] getResponse()

setResponse

public void setResponse(byte[] m_)

serialize

public void serialize(org.apache.jute.OutputArchive a_,
                      String tag)
               throws IOException
Specified by:
serialize in interface org.apache.jute.Record
Throws:
IOException

deserialize

public void deserialize(org.apache.jute.InputArchive a_,
                        String tag)
                 throws IOException
Specified by:
deserialize in interface org.apache.jute.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 © 2012 The Apache Software Foundation