public interface MessageBufferListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
bufferFlushed(List<T> messages)
Notification when the buffer at the relay peer has been flushed manually (using
MessageBuffer.flushNow(). |
void |
bufferFull(List<T> messages)
Notification when the buffer at the relay peer is full.
|
void bufferFull(List<T> messages)
MessageBuffer#collectBuffer() to
collect the messagesmessages - the messages that were buffered. Note that the buffer of MessageBuffer is
cleared as soon as this method call has been set.void bufferFlushed(List<T> messages)
MessageBuffer.flushNow().messages - the messages that were bufferedCopyright © 2015. All rights reserved.