|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SugarCube.SugarCube
This is the SugarCube which is communicating with the SuperCube.
Constructor Summary | |
SugarCube()
SugarCube constructor. |
Method Summary | |
void |
addParticipant(java.lang.String Participant)
Sends a AddParticipant request to SuperCube. |
void |
connect()
Connects to the SuperCube. |
java.lang.String |
getFirstParticipant()
Sends a GetFirstParticipant request to SuperCube. |
java.lang.String |
getLastParticipant()
Sends a LastParticipant request to SuperCube. |
java.lang.String |
getNextParticipant()
Sends a NextParticipant request to SuperCube. |
java.lang.String |
GetStatistics()
Sends a statistic request to SuperCube. |
boolean |
isConnected()
Returns the true if connected, false if not. |
static void |
main(java.lang.String[] args)
Main, starts up the SugarCube and its GUI. |
CubePacket |
RecivePacket()
Recives a packet from SuperCube. |
void |
Save()
Sends a Save request to SuperCube. |
void |
SendPacket(CubePacket p)
Sends a packet to SuperCube. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SugarCube()
Method Detail |
public void connect()
public boolean isConnected()
public void SendPacket(CubePacket p)
public CubePacket RecivePacket()
public void Save()
public java.lang.String GetStatistics()
public void addParticipant(java.lang.String Participant)
Participants
- the participant to add at SuperCube.public java.lang.String getFirstParticipant()
public java.lang.String getNextParticipant()
public java.lang.String getLastParticipant()
public static final void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |