|
Purple Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.purpletech.message.BlockingClient
processes input and output for a single client
| Constructor Summary | |
BlockingClient(java.net.Socket socket,
int id)
Initialize this object. |
|
| Method Summary | |
void |
close()
|
int |
getID()
Accessor |
Message |
receiveMessage()
|
void |
sendMessage(Message m)
Send a message down the socket |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlockingClient(java.net.Socket socket,
int id)
throws java.io.IOException
| Method Detail |
public int getID()
public void sendMessage(Message m)
throws java.io.IOException
java.io.IOException
public Message receiveMessage()
throws java.io.IOException
java.io.IOExceptionpublic void close()
|
Documentation generated March 5 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||