|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdk.itu.smds.torusman.ClientSender
public class ClientSender
The Class ClientSender takes information and sends that information to the sender.
| Field Summary | |
|---|---|
int |
latestAdd
The latest add. |
java.io.DataOutputStream |
outs
The outs. |
| Constructor Summary | |
|---|---|
ClientSender(java.io.DataOutputStream out)
Instantiates a new client sender. |
|
| Method Summary | |
|---|---|
void |
sendMove(ManData m,
byte x,
byte y)
Send move. |
void |
sendScore(byte manId,
byte teamId,
int points)
Send score. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.io.DataOutputStream outs
public int latestAdd
| Constructor Detail |
|---|
public ClientSender(java.io.DataOutputStream out)
out - the out| Method Detail |
|---|
public void sendScore(byte manId,
byte teamId,
int points)
manId - the man idteamId - the team idpoints - the points
public void sendMove(ManData m,
byte x,
byte y)
m - the mx - the xy - the y
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||