diff --git a/src/main/java/org/jboss/netty/channel/ChannelPipelineFactory.java b/src/main/java/org/jboss/netty/channel/ChannelPipelineFactory.java index 557ea37476..850beb2c96 100644 --- a/src/main/java/org/jboss/netty/channel/ChannelPipelineFactory.java +++ b/src/main/java/org/jboss/netty/channel/ChannelPipelineFactory.java @@ -26,8 +26,8 @@ package org.jboss.netty.channel; * Creates a new {@link ChannelPipeline} for a new {@link Channel}. *
* This interface was introduced to initialize the {@link ChannelPipeline} of - * the child channel accepted by a server-side, but it is safe to use it for - * any other purposes. + * the child channel accepted by a {@link ServerChannel}, but it is safe to use + * it for any other purposes. * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com) diff --git a/src/main/java/org/jboss/netty/channel/Channels.java b/src/main/java/org/jboss/netty/channel/Channels.java index da1b897d0f..a84d505a51 100644 --- a/src/main/java/org/jboss/netty/channel/Channels.java +++ b/src/main/java/org/jboss/netty/channel/Channels.java @@ -41,8 +41,6 @@ import java.util.Map; *
* Once a read operation is performed and the actual number of read bytes is - * known, an I/O thread should call {@link #previousReceiveBufferSize(int)} to - * update the predictor so it can predict more accurately. + * known, an I/O thread will call {@link #previousReceiveBufferSize(int)} to + * update the predictor so it can predict more accurately next time. * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com) diff --git a/src/main/java/org/jboss/netty/channel/ServerChannel.java b/src/main/java/org/jboss/netty/channel/ServerChannel.java index e00ce77304..fad165528c 100644 --- a/src/main/java/org/jboss/netty/channel/ServerChannel.java +++ b/src/main/java/org/jboss/netty/channel/ServerChannel.java @@ -22,11 +22,17 @@ */ package org.jboss.netty.channel; +import org.jboss.netty.channel.socket.ServerSocketChannel; + /** + * A {@link Channel} that accepts an incoming connection attempt and creates + * its child {@link Channel}s by accepting them. {@link ServerSocketChannel} is + * a good example. + * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com) * @version $Rev$, $Date$ */ -public interface ServerChannel extends Channel{ +public interface ServerChannel extends Channel { // This is a tag interface. } diff --git a/src/main/java/org/jboss/netty/channel/ServerChannelFactory.java b/src/main/java/org/jboss/netty/channel/ServerChannelFactory.java index 4a2b5c663e..03fb65f2b6 100644 --- a/src/main/java/org/jboss/netty/channel/ServerChannelFactory.java +++ b/src/main/java/org/jboss/netty/channel/ServerChannelFactory.java @@ -22,9 +22,9 @@ */ package org.jboss.netty.channel; - - /** + * A {@link ChannelFactory} that creates a {@link ServerChannel}. + * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com) * diff --git a/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java b/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java index 4596d19f75..b1382549c4 100644 --- a/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java +++ b/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java @@ -25,7 +25,7 @@ package org.jboss.netty.channel; import static org.jboss.netty.channel.Channels.*; /** - * The default {@link ChannelStateEvent} implementation. + * The default upstream {@link ChannelStateEvent} implementation. * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com) diff --git a/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java b/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java index 006dc37774..5983441c03 100644 --- a/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java +++ b/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java @@ -29,7 +29,7 @@ import java.net.SocketAddress; import org.jboss.netty.util.internal.StringUtil; /** - * The default {@link MessageEvent} implementation. + * The default upstream {@link MessageEvent} implementation. * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com)