public static final class ChannelDispatcher.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ChannelDispatcher.Builder |
addChannel(Channel channel) |
ChannelDispatcher.Builder |
addChannels(Channel... c) |
<OUTPUT> ChannelDispatcher<OUTPUT> |
build() |
ChannelDispatcher.Builder |
failIfNoChannelToConsumeOneCharacter()
If this option is activated, an IllegalStateException will be thrown as soon as a character won't be consumed by any channel.
|
public ChannelDispatcher.Builder addChannel(Channel channel)
public ChannelDispatcher.Builder addChannels(Channel... c)
public ChannelDispatcher.Builder failIfNoChannelToConsumeOneCharacter()
public <OUTPUT> ChannelDispatcher<OUTPUT> build()
Copyright © 2009-2012 SonarSource. All Rights Reserved.