Uses of Class
io.netty.channel.embedded.EmbeddedChannel.Builder
-
Packages that use EmbeddedChannel.Builder Package Description io.netty.channel.embedded A virtualChannelthat helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context. -
-
Uses of EmbeddedChannel.Builder in io.netty.channel.embedded
Methods in io.netty.channel.embedded that return EmbeddedChannel.Builder Modifier and Type Method Description static EmbeddedChannel.BuilderEmbeddedChannel. builder()EmbeddedChannel.BuilderEmbeddedChannel.Builder. channelId(ChannelId channelId)TheChannelIdthat will be used to identify this channel.EmbeddedChannel.BuilderEmbeddedChannel.Builder. config(ChannelConfig config)TheChannelConfigwhich will be returned byEmbeddedChannel.config().EmbeddedChannel.BuilderEmbeddedChannel.Builder. handlers(ChannelHandler handler)TheChannelHandlerwhich will be added to theChannelPipeline.EmbeddedChannel.BuilderEmbeddedChannel.Builder. handlers(ChannelHandler... handlers)TheChannelHandlers which will be added to theChannelPipeline.EmbeddedChannel.BuilderEmbeddedChannel.Builder. hasDisconnect(boolean hasDisconnect)falseif thisChannelwill delegateEmbeddedChannel.disconnect()toEmbeddedChannel.close(),trueotherwise.EmbeddedChannel.BuilderEmbeddedChannel.Builder. parent(Channel parent)The parentChannelof thisEmbeddedChannel.EmbeddedChannel.BuilderEmbeddedChannel.Builder. register(boolean register)EmbeddedChannel.BuilderEmbeddedChannel.Builder. ticker(Ticker ticker)Configure a custom ticker for this event loop.Constructors in io.netty.channel.embedded with parameters of type EmbeddedChannel.Builder Constructor Description EmbeddedChannel(EmbeddedChannel.Builder builder)Create a new instance with the configuration from the given builder.
-