tapestry.impl
Class GuidAddr

java.lang.Object
  |
  +--tapestry.impl.GuidAddr
All Implemented Interfaces:
Cloneable, Comparable, QuickSerializable

public class GuidAddr
extends Object
implements QuickSerializable, Cloneable, Comparable


Constructor Summary
GuidAddr(InputBuffer buffer)
           
GuidAddr(SecureHash guid, NodeId addr)
           
 
Method Summary
 Object clone()
           
 int compareTo(Object o)
           
 boolean equals(Object other)
           
 NodeId getAddr()
           
 SecureHash getGuid()
           
 int hashCode()
           
 void serialize(OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GuidAddr

public GuidAddr(SecureHash guid,
                NodeId addr)

GuidAddr

public GuidAddr(InputBuffer buffer)
         throws QSException
Method Detail

getGuid

public SecureHash getGuid()

getAddr

public NodeId getAddr()

serialize

public void serialize(OutputBuffer buffer)
Specified by:
serialize in interface QuickSerializable

equals

public boolean equals(Object other)
Overrides:
equals in class Object

compareTo

public int compareTo(Object o)
              throws ClassCastException
Specified by:
compareTo in interface Comparable
ClassCastException

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object