Fix incorrect documentation about thread model

- Fixes #2130
This commit is contained in:
Trustin Lee 2014-01-19 14:00:32 +09:00
parent ca4eb04dc5
commit 1012160288
2 changed files with 9 additions and 9 deletions

View File

@ -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}.
* <p>
@ -71,7 +71,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannel;
* <td>{@code "channelOpen"}</td>
* <td>{@link ChannelStateEvent}<br/>(state = {@link ChannelState#OPEN OPEN}, value = {@code true})</td>
* <td>a {@link Channel} is open, but not bound nor connected</td>
* <td><strong>Be aware that this event is fired from within the Boss-Thread so you should not
* <td><strong>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!</strong></td>
* </tr>
* <tr>
@ -83,7 +83,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannel;
* <td>{@code "channelBound"}</td>
* <td>{@link ChannelStateEvent}<br/>(state = {@link ChannelState#BOUND BOUND}, value = {@link SocketAddress})</td>
* <td>a {@link Channel} is open and bound to a local address, but not connected.</td>
* <td><strong>Be aware that this event is fired from within the Boss-Thread so you should not
* <td><strong>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!</strong></td>
* </tr>
* <tr>
@ -96,7 +96,7 @@ import org.jboss.netty.channel.socket.ServerSocketChannel;
* <td>{@link ChannelStateEvent}<br/>(state = {@link ChannelState#CONNECTED CONNECTED}, value =
* {@link SocketAddress})</td>
* <td>a {@link Channel} is open, bound to a local address, and connected to a remote address</td>
* <td><strong>Be aware that this event is fired from within the Boss-Thread so you should not
* <td><strong>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!</strong></td>
* </tr>
* <tr>

View File

@ -157,7 +157,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
* Invoked when a {@link Channel} is open, but not bound nor connected.
* <br/>
*
* <strong>Be aware that this event is fired from within the Boss-Thread so you should not
* <strong>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!</strong>
*/
public void channelOpen(
@ -170,7 +170,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
* but not connected.
* <br/>
*
* <strong>Be aware that this event is fired from within the Boss-Thread so you should not
* <strong>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!</strong>
*/
public void channelBound(
@ -183,7 +183,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
* connected to a remote address.
* <br/>
*
* <strong>Be aware that this event is fired from within the Boss-Thread so you should not
* <strong>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!</strong>
*/
public void channelConnected(