|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.communications.command.impl.identify.Identification
public abstract class Identification
Identification information that is common for both types of remote endpoints: an agent or server.
| Field Summary | |
|---|---|
static String |
TYPE_AGENT
The type string that identifies the remote endpoint as an Agent. |
static String |
TYPE_SERVER
The type string that identifies the remote endpoint as a Server. |
| Constructor Summary | |
|---|---|
Identification(String type,
String locator)
Constructor for Identification. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines equality based solely on the type and locator. |
String |
getInvokerLocator()
Returns the locator endpoint of the remoting server that is being identified. |
long |
getTimestamp()
Returns the epoch milliseconds of the identified endpoint. |
String |
getType()
Returns the type of the remoting server that is being identified. |
int |
hashCode()
Determines hash based solely on the type and locator. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_AGENT
public static final String TYPE_SERVER
| Constructor Detail |
|---|
public Identification(String type,
String locator)
throws IllegalArgumentException
Identification.
type - indicates if this is an Agent or Serverlocator - the locator endpoint of remoting server
IllegalArgumentException - if either parameter is null| Method Detail |
|---|
public String getInvokerLocator()
public String getType()
TYPE_AGENT or
TYPE_SERVER.
public long getTimestamp()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||