com.threerings.presents.peer.data
Class DObjectAddress
java.lang.Object
com.threerings.io.SimpleStreamableObject
com.threerings.presents.peer.data.DObjectAddress
- All Implemented Interfaces:
- Streamable
public class DObjectAddress
- extends SimpleStreamableObject
Identifies a DObject on a peer.
|
Field Summary |
String |
nodeName
The node on which this object lives. |
int |
oid
This object's oid in its node's oid space. |
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.
DObjectAddress
public DObjectAddress(String nodeName,
int oid)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object