|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceforge.jemm.comm.server.RPCClientId
public class RPCClientId
A client identifier.
Released under the Apache License V2.0 license by the JEMM Project
Field Summary | |
---|---|
protected java.lang.String |
clientIdString
The internal id of this client. |
protected static java.util.concurrent.atomic.AtomicInteger |
ID_SOURCE
Internal counter for client ids |
Constructor Summary | |
---|---|
RPCClientId()
Create a unique ClientId. |
|
RPCClientId(java.lang.String internalId)
Create a stored client id. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getInternalId()
Returns the internal representation if this id for storage. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.util.concurrent.atomic.AtomicInteger ID_SOURCE
protected final java.lang.String clientIdString
Constructor Detail |
---|
public RPCClientId()
public RPCClientId(java.lang.String internalId)
internalId
- The internal id of the client.Method Detail |
---|
public java.lang.String getInternalId()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |