diff --git a/src/main/java/org/jboss/netty/channel/ChannelConfig.java b/src/main/java/org/jboss/netty/channel/ChannelConfig.java index 67409ecc76..239e7bb50c 100644 --- a/src/main/java/org/jboss/netty/channel/ChannelConfig.java +++ b/src/main/java/org/jboss/netty/channel/ChannelConfig.java @@ -25,19 +25,19 @@ package org.jboss.netty.channel; import java.io.IOException; import java.util.Map; -import org.jboss.netty.channel.socket.nio.NioSocketChannelConfig; +import org.jboss.netty.channel.socket.SocketChannelConfig; /** * A set of configuration properties of a {@link Channel}. *

- * Please down-cast to the transport-specific configuration type such as - * {@link NioSocketChannelConfig} or use {@link #setOptions(Map)} to set the + * Please down-cast to more specific configuration type such as + * {@link SocketChannelConfig} or use {@link #setOptions(Map)} to set the * transport-specific properties: *

  * Channel ch = ...;
- * NioSocketChannelConfig cfg = (NioSocketChannelConfig) ch.getConfig();
- * cfg.setWriteSpinCount(4);
+ * SocketChannelConfig cfg = (SocketChannelConfig) ch.getConfig();
+ * cfg.setTcpNoDelay(false);
  * 
* * @author The Netty Project (netty-dev@lists.jboss.org)