|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectserver.framework.network.ServerSocketCommunicator.SenderThread
protected class ServerSocketCommunicator.SenderThread
Thread that is responsible for sending messages to the socket's associated client.
Constructor Summary | |
---|---|
ServerSocketCommunicator.SenderThread()
Initialises the message queue. |
Method Summary | |
---|---|
void |
run()
Sends messages that are waiting to be sent. |
void |
sendMessage(java.lang.String message)
Called when a new message is to be sent. |
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerSocketCommunicator.SenderThread()
Method Detail |
---|
public void run()
SocketWrapper
object to
send the messages, and the implementation of the sending is therefore
abstracted from this method.
run
in interface java.lang.Runnable
public void sendMessage(java.lang.String message)
message
- The message to be sent.public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |