| Access | Constructor and Description |
|---|---|
| pack-priv | ObjectEndpoint(ObjID
the object identifier id, Transport the transport transport)Constructs a new ObjectEndpoint instance with the specified id and transport. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Compares the specified object with this object endpoint for equality. |
| public int | hashCode()
Overrides java. Returns the hash code value for this object endpoint. |
| public String | toString()
Overrides java. Returns a string representation for this object endpoint. |
| id | back to summary |
|---|---|
| private final ObjID id | |
| transport | back to summary |
|---|---|
| private final Transport transport | |
| ObjectEndpoint | back to summary |
|---|---|
| pack-priv ObjectEndpoint(ObjID id, Transport transport) Constructs a new ObjectEndpoint instance with the specified id and transport. The specified id must be non-null, and the specified transport must either be non-null or the specified id must be equivalent to an ObjID constructed with ObjID.DGC_ID.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compares the specified object with this object endpoint for equality. This method returns true if and only if the specified object is an ObjectEndpoint instance with the same object identifier and transport as this object. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code value for this object endpoint. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation for this object endpoint. | |