com.threerings.presents.peer.data
Class DObjectAddress

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.presents.peer.data.DObjectAddress
All Implemented Interfaces:
Streamable

public class DObjectAddress
extends SimpleStreamableObject

Identifies a DObject on a peer.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 String nodeName
          The node on which this object lives.
 int oid
          This object's oid in its node's oid space.
 
Constructor Summary
DObjectAddress(String nodeName, int oid)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class com.threerings.io.SimpleStreamableObject
toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeName

public final String nodeName
The node on which this object lives.


oid

public final int oid
This object's oid in its node's oid space.

Constructor Detail

DObjectAddress

public DObjectAddress(String nodeName,
                      int oid)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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