APIdia Launch Partner
Top Description Fields Constructors Methods
sun.rmi.transport

pack-priv Class ObjectEndpoint

extends Object
Class Inheritance
Imports
java.rmi.server.ObjID

An object used as a key to the object table that maps an instance of this class to a Target.
Author
Ann Wollrath

Field Summary

Modifier and TypeField and Description
private final ObjID
private final Transport

Constructor Summary

AccessConstructor 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.

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object obj)

Overrides java.lang.Object.equals.

Compares the specified object with this object endpoint for equality.

public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns the hash code value for this object endpoint.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation for this object endpoint.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait

Field Detail

idback to summary
private final ObjID id
transportback to summary
private final Transport transport

Constructor Detail

ObjectEndpointback 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.

Parameters
id:ObjID

the object identifier

transport:Transport

the transport

Exceptions
NullPointerException:
if id is null

Method Detail

equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

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.

hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Returns the hash code value for this object endpoint.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a string representation for this object endpoint.