|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--synapsi.data.DataInfo | +--synapsi.data.DataClient
Class containg the client information
Constructor Summary | |
protected |
DataClient(java.lang.String ip)
Construct the client object with specified IP |
Method Summary | |
DataVersion |
getDataVersion()
Get clients DataVersion object |
DataGroup |
getGroup()
Get the dataGroup object where this client belongs to. |
java.lang.String |
getId()
Get the client's Unique id(=IP) string |
java.lang.String |
getIp()
Get client's IP(=unique ID) |
boolean |
getOnLineStatus()
Get the client's status. |
void |
printData()
Print method for test purposes mainly. |
protected void |
setGroup(DataGroup data)
Makes this client object part of one DataGroup object. |
protected void |
setOnLineStatus(boolean b)
|
protected void |
setVersion(DataVersion data)
Updates clients DataVersion object |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected DataClient(java.lang.String ip)
ip
- The IP-address for this clientMethod Detail |
protected void setGroup(DataGroup data)
data
- Group this is client is about to join.public DataGroup getGroup()
public java.lang.String getId()
public java.lang.String getIp()
public boolean getOnLineStatus()
protected void setOnLineStatus(boolean b)
public DataVersion getDataVersion()
protected void setVersion(DataVersion data)
data
- Version this client is about to havepublic void printData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |