public interface OutboundPipeline
Channel
. So all data that gets
written to the network, goes through the outbound pipeline.Modifier and Type | Method and Description |
---|---|
OutboundPipeline |
addLast(OutboundHandler... handlers)
Adds the handlers at the end of the pipeline
No verification is done if the handler is already added and a handler
should only be added once.
|
OutboundPipeline |
remove(OutboundHandler handler)
Removes the given handler from the pipeline.
|
OutboundPipeline |
replace(OutboundHandler oldHandler,
OutboundHandler... newHandlers)
Replaces the old OutboundHandler by the new ones.
|
OutboundPipeline |
wakeup()
Request to flush all data to flush from the handlers to
the network.
|
OutboundPipeline addLast(OutboundHandler... handlers)
handlers
- the handlers to add.OutboundPipeline replace(OutboundHandler oldHandler, OutboundHandler... newHandlers)
oldHandler
- the handlers to replacenewHandlers
- the new handlers to insert.IllegalArgumentException
- is the oldHandler isn't part of this
pipeline.OutboundPipeline remove(OutboundHandler handler)
handler
- the handler to remove.IllegalArgumentException
- is the handler isn't part of this
pipeline.OutboundPipeline wakeup()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.