Made LocalChannelConfig invisible to users

This commit is contained in:
Trustin Lee 2009-02-09 05:26:10 +00:00
parent 202b53c132
commit 35730de7cb

View File

@ -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());