org.apache.zookeeper.data
Class ACL

java.lang.Object
  extended by org.apache.zookeeper.data.ACL

public class ACL
extends Object


Constructor Summary
ACL()
           
ACL(int perms, Id id)
           
 
Method Summary
 int compareTo(Object peer_)
           
 void deserialize(InputArchive a_, String tag)
           
 boolean equals(Object peer_)
           
 Id getId()
           
 int getPerms()
           
 int hashCode()
           
 void readFields(DataInput in)
           
 void serialize(OutputArchive a_, String tag)
           
 void setId(Id m_)
           
 void setPerms(int m_)
           
static String signature()
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ACL

public ACL()

ACL

public ACL(int perms,
           Id id)
Method Detail

getPerms

public int getPerms()

setPerms

public void setPerms(int m_)

getId

public Id getId()

setId

public void setId(Id m_)

serialize

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

deserialize

public void deserialize(InputArchive a_,
                        String tag)
                 throws IOException
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 © 2009 The Apache Software Foundation