|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutgoingMessageQueue
Queue for sending outgoing messages.
Method Summary | |
---|---|
void |
deregisterListener(OutgoingMessageQueueListener listener)
Remove registration of queue listener. |
int |
getDataQueuedBytes()
|
int |
getPercentDoneOfCurrentMessage()
|
int |
getProtocolQueuedBytes()
|
boolean |
isBlocked()
|
void |
notifyOfExternalSend(Message message)
Notifty the queue (and its listeners) of a message sent externally on the queue's behalf. |
void |
registerListener(OutgoingMessageQueueListener listener)
Register queue listener. |
void |
sendMessage(Message message)
Queue the given message for sending. |
void |
setEncoder(MessageStreamEncoder encoder)
Set the message stream encoder that will be used to encode outgoing messages. |
Method Detail |
---|
void setEncoder(MessageStreamEncoder encoder)
encoder
- to usevoid sendMessage(Message message)
message
- to sendvoid registerListener(OutgoingMessageQueueListener listener)
listener
- to registervoid deregisterListener(OutgoingMessageQueueListener listener)
listener
- to removevoid notifyOfExternalSend(Message message)
message
- sent externallyint getPercentDoneOfCurrentMessage()
int getDataQueuedBytes()
int getProtocolQueuedBytes()
boolean isBlocked()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |