public interface InputConnection extends Connection<InputConnection>, Input<InputConnection>, InputGroupSupport<InputConnection>, InputBatchSupport<InputConnection>
Messages on input connections must be received in order. Output and input connections keep track of message order by tagging and comparing messages with monotonically increasing unique identifiers. If the input connection receives a message out of order, it will immediately notify the output connection of the last known ordered message, indicating that the output connection should resend messages after the last known correct message.
The input connection will periodically send messages to the output connection indicating the last correct message received, allowing the output to clear its queue.
| Modifier and Type | Method and Description |
|---|---|
InputConnection |
batchHandler(org.vertx.java.core.Handler<InputBatch> handler)
Registers an input batch handler.
|
address, sizemessageHandler, pause, resume, vertxgroupHandler, groupHandlerInputConnection batchHandler(org.vertx.java.core.Handler<InputBatch> handler)
batchHandler in interface InputBatchSupport<InputConnection>handler - A handler to be called when an input batch is started.Copyright © 2013-2014. All Rights Reserved.