|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.RemoteObjectReference
public class RemoteObjectReference
RemoteObjectReference is used to represent a remote object in the distributed system. The Remote Reference is used to access remote objects.
Constructor Summary | |
---|---|
RemoteObjectReference()
Creates a new instance of RepresentationOfRemoteObject |
|
RemoteObjectReference(java.net.InetAddress aAddress,
int aPort,
java.lang.String name,
java.lang.String implementationClassName)
Creates a new instance of RepresentationOfRemoteObject |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares if two RemoteObjectReferences are equal. |
java.net.InetAddress |
getAddress()
Get the remote refernces address. |
java.lang.String |
getImplementationClass()
Get the implemetation class. |
java.lang.String |
getName()
The name of the remote reference. |
int |
getObjectID()
Get the id number of the reference. |
int |
getPort()
Get the port number of the remote reference. |
java.util.Date |
getTimeCreated()
Get the time that the remote reference was created. |
int |
hashCode()
Gets the hash code for a RemoteObjectReference. |
void |
setImplementationClass(java.lang.String implementationClass)
Set the implemetation class. |
java.lang.String |
toString()
Returns a String representation of a RemoteObjectReference. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteObjectReference()
public RemoteObjectReference(java.net.InetAddress aAddress, int aPort, java.lang.String name, java.lang.String implementationClassName)
aAddress
- The ip address of the remote reference.aPort
- The port number of the remote reference.name
- The name of the remote reference.Method Detail |
---|
public java.net.InetAddress getAddress()
public int getPort()
public int getObjectID()
public java.util.Date getTimeCreated()
public java.lang.String getName()
public java.lang.String getImplementationClass()
public void setImplementationClass(java.lang.String implementationClass)
implementationClass
- The implementationClass to set.public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare for equality.
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |