public interface PipeBuilder
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
PipeBuilder.PipelineBuilder<RCV_UP,SND_DOWN> |
| 限定符和类型 | 方法和说明 |
|---|---|
<RCV_UP,SND_DOWN> |
nextTo()
empty PipelineBuilder is mostly used to develop the protocol stack via Embedded.
|
default <RCV_DOWN,SND_UP> |
nextTo(PipeHandler<ByteBuf,RCV_DOWN> decoder,
PipeHandler<SND_UP,ByteBuf> encoder)
using decoder and encoder to combined for duplex.
|
default <RCV_DOWN,SND_UP> |
nextTo(PipeLayer<ByteBuf,RCV_DOWN,SND_UP,ByteBuf> pipeLayer)
this is a Duplexer, The data flow direction is identified by the isRcv parameter.
|
<RCV_DOWN,SND_UP> |
nextTo(String name,
PipeConfig pipeConfig,
PipeHandler<ByteBuf,RCV_DOWN> decoder,
PipeHandler<SND_UP,ByteBuf> encoder)
using decoder and encoder to combined for duplex.
|
<RCV_DOWN,SND_UP> |
nextTo(String name,
PipeConfig pipeConfig,
PipeLayer<ByteBuf,RCV_DOWN,SND_UP,ByteBuf> pipeLayer)
this is a Duplexer, The data flow direction is identified by the isRcv parameter.
|
default <RCV_DOWN,SND_UP> |
nextTo(String name,
PipeHandler<ByteBuf,RCV_DOWN> decoder,
PipeHandler<SND_UP,ByteBuf> encoder)
using decoder and encoder to combined for duplex.
|
default <RCV_DOWN,SND_UP> |
nextTo(String name,
PipeLayer<ByteBuf,RCV_DOWN,SND_UP,ByteBuf> pipeLayer)
this is a Duplexer, The data flow direction is identified by the isRcv parameter.
|
PipeConfig |
pipeConfig()
Get the default PipeConfig
|
<RCV_UP,SND_DOWN> |
pipeConfig(PipeConfig pipeConfig)
empty PipelineBuilder is mostly used to develop the protocol stack via Embedded.
|
<RCV_UP,SND_DOWN> PipeBuilder.PipelineBuilder<RCV_UP,SND_DOWN> pipeConfig(PipeConfig pipeConfig)
NullPointerException - if the specified handler is nullPipeConfig pipeConfig()
<RCV_UP,SND_DOWN> PipeBuilder.PipelineBuilder<RCV_UP,SND_DOWN> nextTo()
NullPointerException - if the specified handler is nulldefault <RCV_DOWN,SND_UP> PipeBuilder.PipelineBuilder<RCV_DOWN,SND_UP> nextTo(PipeLayer<ByteBuf,RCV_DOWN,SND_UP,ByteBuf> pipeLayer)
pipeLayer - target pipeLayerNullPointerException - if the specified handler is nulldefault <RCV_DOWN,SND_UP> PipeBuilder.PipelineBuilder<RCV_DOWN,SND_UP> nextTo(String name, PipeLayer<ByteBuf,RCV_DOWN,SND_UP,ByteBuf> pipeLayer)
name - pipeLayer namepipeLayer - target pipeLayerNullPointerException - if the specified handler is null<RCV_DOWN,SND_UP> PipeBuilder.PipelineBuilder<RCV_DOWN,SND_UP> nextTo(String name, PipeConfig pipeConfig, PipeLayer<ByteBuf,RCV_DOWN,SND_UP,ByteBuf> pipeLayer)
name - pipeLayer namepipeConfig - pipeLayer configpipeLayer - target pipeLayerNullPointerException - if the specified handler is nulldefault <RCV_DOWN,SND_UP> PipeBuilder.PipelineBuilder<RCV_DOWN,SND_UP> nextTo(PipeHandler<ByteBuf,RCV_DOWN> decoder, PipeHandler<SND_UP,ByteBuf> encoder)
decoder - RCV_UP to RCV_DOWNencoder - SND_UP to SND_DOWNNullPointerException - if the specified handler is nulldefault <RCV_DOWN,SND_UP> PipeBuilder.PipelineBuilder<RCV_DOWN,SND_UP> nextTo(String name, PipeHandler<ByteBuf,RCV_DOWN> decoder, PipeHandler<SND_UP,ByteBuf> encoder)
name - pipeLayer namedecoder - RCV_UP to RCV_DOWNencoder - SND_UP to SND_DOWNNullPointerException - if the specified handler is null<RCV_DOWN,SND_UP> PipeBuilder.PipelineBuilder<RCV_DOWN,SND_UP> nextTo(String name, PipeConfig pipeConfig, PipeHandler<ByteBuf,RCV_DOWN> decoder, PipeHandler<SND_UP,ByteBuf> encoder)
name - pipeLayer namepipeConfig - pipeLayer configdecoder - RCV_UP to RCV_DOWNencoder - SND_UP to SND_DOWNNullPointerException - if the specified handler is nullCopyright © 2022–2024. All rights reserved.