Write a collection of outbound messages to the pipeline with a timeout
Write a collection of outbound messages to the pipeline with a timeout
Write a collection of outbound messages to the pipeline
Write a collection of outbound messages to the pipeline
Write a single outbound message to the pipeline with a timeout
Write a single outbound message to the pipeline with a timeout
Write a single outbound message to the pipeline
Write a single outbound message to the pipeline
Find the next inbound Stage
of type C
, if it exists.
Find the next inbound Stage
of type C
, if it exists.
Find the next outbound Stage
with the given name, if it exists.
Find the next outbound Stage
with the given name, if it exists.
Find the next outbound Stage
of type C
, if it exists.
Find the next outbound Stage
of type C
, if it exists.
Find the next outbound Stage
with the given name, if it exists.
Find the next outbound Stage
with the given name, if it exists.
Receives inbound commands Override to capture commands.
Receives outbound commands Override to capture commands.
Receives outbound commands Override to capture commands.
Called by the next inbound Stage
to signal interest in reading data.
Called by the next inbound Stage
to signal interest in reading data.
Hint as to the size of the message intended to be read. May not be meaningful or honored.
Future
that will resolve with the requested inbound data, or an error.
Remove this MidStage
from the pipeline
Remove this MidStage
from the pipeline
Replace this MidStage
with the provided MidStage
of the same type
Replace this MidStage
with the provided MidStage
of the same type
Replace all remaining inbound Stage
s of the pipeline, not including this Stage
.
Replace all remaining inbound Stage
s of the pipeline, not including this Stage
.
Replace all downstream Stage
s, including this Stage
.
Replace all downstream Stage
s, including this Stage
.
If this was a MidStage
, its inbound element is notified via a Disconnected
Command.
Send a command to the next inbound Stage
of the pipeline
Send a command to the next inbound Stage
of the pipeline
Send a command to the next outbound Stage
of the pipeline
Send a command to the next outbound Stage
of the pipeline
Insert the MidStage
after this
Insert the MidStage
after this
Insert the MidStage
before this Stage
Insert the MidStage
before this Stage
Shuts down the stage, deallocating resources, etc.
Shuts down the stage, deallocating resources, etc.
This method will be called when the stages receives a Disconnected command unless the
inboundCommand
method is overridden. It is not impossible that this will not be called
due to failure for other stages to propagate shutdown commands. Conversely, it is also
possible for this to be called more than once due to the reception of multiple disconnect
commands. It is therefore recommended that the method be idempotent.
Start the stage, allocating resources etc.
Start the stage, allocating resources etc.
This method should not effect other stages by sending commands etc unless it creates them. It is not impossible that the stage will receive other commands besides Connected before this method is called. It is not impossible for this method to be called multiple times by misbehaving stages. It is therefore recommended that the method be idempotent.
Data that the next inbound Stage
wants to send outbound.
Data that the next inbound Stage
wants to send outbound.
a Future
that resolves when the data has been handled.
Collection of data that the next inbound Stage
wants to sent outbound.
Collection of data that the next inbound Stage
wants to sent outbound.
It is generally assumed that the order of elements has meaning.
a Future
that resolves when the data has been handled.