public interface FlowControl
Sender.| Modifier and Type | Method and Description |
|---|---|
void |
initialize(int initialTermId,
int termBufferCapacity)
Initialize the flow control strategy
|
long |
onIdle(long now)
Perform any maintenance needed by the flow control strategy and return current position
|
long |
onStatusMessage(int termId,
int termOffset,
int receiverWindowLength,
java.net.InetSocketAddress address)
Update the sender flow control strategy based on a status message from the receiver.
|
long onStatusMessage(int termId,
int termOffset,
int receiverWindowLength,
java.net.InetSocketAddress address)
termId - currently active for the receiver.termOffset - within the current active term for the receiver.receiverWindowLength - supported by the receiver.address - of the receiver.void initialize(int initialTermId,
int termBufferCapacity)
initialTermId - for the term bufferstermBufferCapacity - to use as the length of each term bufferlong onIdle(long now)
now - time in nanoseconds.Copyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.