| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemmrpc.server.ClientId
public class ClientId
A client identifier.
| Field Summary | |
|---|---|
| protected  java.lang.String | clientIdStringThe internal id of this client. | 
| protected static java.util.concurrent.atomic.AtomicInteger | nextClientIdInternal counter for client ids | 
| Constructor Summary | |
|---|---|
| ClientId()Create a unique ClientId. | |
| ClientId(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 nextClientId
protected final java.lang.String clientIdString
| Constructor Detail | 
|---|
public ClientId()
public ClientId(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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | |||||||||