|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grinder.communication.QueuedSenderDecorator
public final class QueuedSenderDecorator
QueuedSender implementation.
| Constructor Summary | |
|---|---|
QueuedSenderDecorator(Sender delegate)
Constructor. |
|
| Method Summary | |
|---|---|
void |
flush()
Send any pending messages queued with Sender.send(net.grinder.communication.Message). |
void |
send(Message message)
Queue the given message for later sending. |
void |
shutdown()
Cleanly shutdown the Sender. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueuedSenderDecorator(Sender delegate)
delegate - Sender to decorate.| Method Detail |
|---|
public void send(Message message)
throws CommunicationException
send in interface Sendermessage - A Message.
CommunicationException - If an error occurs.
public void flush()
throws CommunicationException
Sender.send(net.grinder.communication.Message).
flush in interface QueuedSenderCommunicationException - If an error occurs.public void shutdown()
Sender.
Any queued messages are discarded.
shutdown in interface Sender
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||