|
Purple Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the Client as seen by the server. It processes input and output for a single client. It's really a client proxy (local stub).
| Method Summary | |
void |
close()
tell this client to go bye-bye. |
int |
getID()
|
long |
getLastReceived()
system (local) time when the last message was received from this client |
long |
getLastSent()
system (local) time when the last message was sent to this client |
Message |
receiveMessage()
the server calls this method to find out if a message is available and, if so, to receive it |
void |
sendMessage(Message m)
the server calls sendMessage to make this client stub send a message to its client |
| 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()
public long getLastSent()
public long getLastReceived()
|
Documentation generated March 5 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||