diff --git a/src/main/java/org/jboss/netty/channel/ChannelEvent.java b/src/main/java/org/jboss/netty/channel/ChannelEvent.java index 50abd6bbb0..52846392a6 100644 --- a/src/main/java/org/jboss/netty/channel/ChannelEvent.java +++ b/src/main/java/org/jboss/netty/channel/ChannelEvent.java @@ -15,14 +15,14 @@ */ package org.jboss.netty.channel; +import org.jboss.netty.buffer.ChannelBuffer; +import org.jboss.netty.channel.socket.ServerSocketChannel; + import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.net.SocketAddress; -import org.jboss.netty.buffer.ChannelBuffer; -import org.jboss.netty.channel.socket.ServerSocketChannel; - /** * An I/O event or I/O request associated with a {@link Channel}. *

@@ -71,7 +71,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannel; * {@code "channelOpen"} * {@link ChannelStateEvent}
(state = {@link ChannelState#OPEN OPEN}, value = {@code true}) * a {@link Channel} is open, but not bound nor connected - * Be aware that this event is fired from within the Boss-Thread so you should not + * Be aware that this event is fired from within the worker thread. You should never * execute any heavy operation in there as it will block the dispatching to other workers! * * @@ -83,7 +83,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannel; * {@code "channelBound"} * {@link ChannelStateEvent}
(state = {@link ChannelState#BOUND BOUND}, value = {@link SocketAddress}) * a {@link Channel} is open and bound to a local address, but not connected. - * Be aware that this event is fired from within the Boss-Thread so you should not + * Be aware that this event is fired from within the worker thread. You should never * execute any heavy operation in there as it will block the dispatching to other workers! * * @@ -96,7 +96,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannel; * {@link ChannelStateEvent}
(state = {@link ChannelState#CONNECTED CONNECTED}, value = * {@link SocketAddress}) * a {@link Channel} is open, bound to a local address, and connected to a remote address - * Be aware that this event is fired from within the Boss-Thread so you should not + * Be aware that this event is fired from within the worker thread. You should never * execute any heavy operation in there as it will block the dispatching to other workers! * * diff --git a/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java b/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java index 7593f70b32..6082525bcc 100644 --- a/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java +++ b/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java @@ -157,7 +157,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler { * Invoked when a {@link Channel} is open, but not bound nor connected. *
* - * Be aware that this event is fired from within the Boss-Thread so you should not + * Be aware that this event is fired from within the worker thread. You should never * execute any heavy operation in there as it will block the dispatching to other workers! */ public void channelOpen( @@ -170,7 +170,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler { * but not connected. *
* - * Be aware that this event is fired from within the Boss-Thread so you should not + * Be aware that this event is fired from within the worker thread. You should never * execute any heavy operation in there as it will block the dispatching to other workers! */ public void channelBound( @@ -183,7 +183,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler { * connected to a remote address. *
* - * Be aware that this event is fired from within the Boss-Thread so you should not + * Be aware that this event is fired from within the worker thread. You should never * execute any heavy operation in there as it will block the dispatching to other workers! */ public void channelConnected(