Made LocalChannelConfig invisible to users
This commit is contained in:
parent
202b53c132
commit
35730de7cb
@ -33,11 +33,15 @@ import org.jboss.netty.channel.ChannelPipelineFactory;
|
||||
* @author <a href="mailto:andy.taylor@jboss.org">Andy Taylor</a>
|
||||
* @author Trustin Lee (tlee@redhat.com)
|
||||
*/
|
||||
public class LocalChannelConfig implements ChannelConfig {
|
||||
class LocalChannelConfig implements ChannelConfig {
|
||||
|
||||
private volatile ChannelBufferFactory bufferFactory = HeapChannelBufferFactory.getInstance();
|
||||
private volatile ChannelPipelineFactory pipelineFactory;
|
||||
|
||||
LocalChannelConfig() {
|
||||
super();
|
||||
}
|
||||
|
||||
public void setOptions(Map<String, Object> options) {
|
||||
for (Entry<String, Object> e: options.entrySet()) {
|
||||
setOption(e.getKey(), e.getValue());
|
||||
|
Loading…
Reference in New Issue
Block a user