public interface EnvelopeDispatcher
Envelopes and sends them to all of its destinations.| Modifier and Type | Method and Description |
|---|---|
void |
dispatchFromInputChannel(Envelope envelope)
Dispatches an envelope from an input channel to the receiving output channels (backwards flow).
|
void |
dispatchFromNetwork(Envelope envelope)
Dispatches an envelope from an incoming TCP connection.
|
void |
dispatchFromOutputChannel(Envelope envelope)
Dispatches an envelope from an output channel to the receiving input channels (forward flow).
|
void dispatchFromOutputChannel(Envelope envelope) throws IOException, InterruptedException
envelope - envelope to be sentIOExceptionInterruptedExceptionvoid dispatchFromInputChannel(Envelope envelope) throws IOException, InterruptedException
envelope - envelope to be sentIOExceptionInterruptedExceptionvoid dispatchFromNetwork(Envelope envelope) throws IOException, InterruptedException
After an envelope has been constructed from a TCP socket, this method is called to send the envelope to the receiving input channel.
envelope - envelope to be sentIOExceptionInterruptedExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.