|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Util.Util
Network static utility functions
| Constructor Summary | |
Util()
|
|
| Method Summary | |
static void |
printFormattedSocketName(java.net.Socket s)
Print a formatted description of a given socket |
static java.lang.String |
recvLine(java.io.BufferedReader read)
Read a line from BufferedReader 'read' |
static void |
sendLine(java.lang.String s,
java.io.BufferedWriter write)
Sends a single line over the network. |
static void |
waitFor(java.lang.Object o)
Wait for a given object |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Util()
| Method Detail |
public static void printFormattedSocketName(java.net.Socket s)
s - The given socketpublic static java.lang.String recvLine(java.io.BufferedReader read)
public static void sendLine(java.lang.String s,
java.io.BufferedWriter write)
s - The line to sendpublic static void waitFor(java.lang.Object o)
o - The object to wait for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||