|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.computing.distributed.server.ClientRecord
public class ClientRecord
Object representing a client connected to an Interactive Task Server. Used in Multiple Server setup to represent the allocation between servers and clients.
| Field Summary | |
|---|---|
protected ServerRecord |
allocatedServer
DOCUMENT ME! |
protected java.lang.String |
name
DOCUMENT ME! |
protected java.lang.Object |
realId
DOCUMENT ME! |
protected java.lang.Object |
uid
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
ClientRecord(java.lang.Object uid,
java.lang.String name)
Creates a new instance of ClientRecord |
|
| Method Summary | |
|---|---|
ServerRecord |
getAllocatedServer()
Get method for the currently allocated server, ie. the server which this client is servicing. |
java.lang.String |
getName()
Get method for this client's unique name |
java.lang.Object |
getRealId()
Get method for the ID given to this client by its currently allocated server. |
void |
setAllocatedServer(ServerRecord allocatedServer)
Set method for the currently allocated server, ie. the server which this client is servicing. |
void |
setRealId(java.lang.Object realId)
Set method for the ID given to this client by its currently allocated server. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object uid
protected java.lang.String name
protected java.lang.Object realId
protected ServerRecord allocatedServer
| Constructor Detail |
|---|
public ClientRecord(java.lang.Object uid,
java.lang.String name)
uid - DOCUMENT ME!name - A unique name for this client| Method Detail |
|---|
public java.lang.String getName()
public java.lang.Object getRealId()
public void setRealId(java.lang.Object realId)
realId - ID by which the currently allocated server refers to this
clientpublic ServerRecord getAllocatedServer()
public void setAllocatedServer(ServerRecord allocatedServer)
allocatedServer - The ServerRecord object of the server this client
is now allocated topublic 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 | ||||||||