This commit is contained in:
Trustin Lee 2011-12-09 12:46:59 +09:00
parent 7518e98525
commit 015daec3fa
573 changed files with 581 additions and 581 deletions

View File

@ -4,7 +4,7 @@
Please visit the Netty web site for more information:
* http://www.jboss.org/netty/
* http://netty.io/
Copyright 2009 Red Hat, Inc.

View File

@ -6,7 +6,7 @@
<authoremail>netty-dev@lists.jboss.org</authoremail>
<version>0.28</version>
<description>
http://www.jboss.org/netty/
http://netty.io/
</description>
</documentation>
<settings>

View File

@ -19,6 +19,6 @@
</head>
<body>
<div style="text-align: center;"><img src="http://docs.jboss.org/netty/3.2/guide/html/images/architecture.png"></div>
<p style="text-align: justify;"><a href="http://www.jboss.org/netty/" target="_top"><em>The Netty project</em></a> is an effort to provide an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients&#46; In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients&#46; It greatly simplifies and streamlines network programming such as TCP/IP socket server&#46;</p>
<p style="text-align: justify;"><a href="http://netty.io/" target="_top"><em>The Netty project</em></a> is an effort to provide an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients&#46; In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients&#46; It greatly simplifies and streamlines network programming such as TCP/IP socket server&#46;</p>
</body>
</html>

View File

@ -40,7 +40,7 @@ import io.netty.util.ExternalResourceReleasable;
* and {@link ConnectionlessBootstrap} for client side, server-side, and
* connectionless (e.g. UDP) channel initialization respectively.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.uses io.netty.channel.ChannelFactory

View File

@ -103,7 +103,7 @@ import io.netty.channel.Channels;
* {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -112,7 +112,7 @@ import io.netty.channel.Channels;
* {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -153,7 +153,7 @@ import io.netty.channel.SimpleChannelUpstreamHandler;
* {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -27,7 +27,7 @@ import java.nio.charset.Charset;
/**
* A skeletal implementation of a buffer.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public abstract class AbstractChannelBuffer implements ChannelBuffer {

View File

@ -20,7 +20,7 @@ import java.nio.ByteOrder;
/**
* A skeletal implementation of {@link ChannelBufferFactory}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public abstract class AbstractChannelBufferFactory implements ChannelBufferFactory {

View File

@ -23,7 +23,7 @@ import java.nio.ByteOrder;
* and {@link ChannelBuffers#wrappedBuffer(byte[])} instead of calling the
* constructor explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class BigEndianHeapChannelBuffer extends HeapChannelBuffer {

View File

@ -29,7 +29,7 @@ import java.nio.channels.ScatteringByteChannel;
* and {@link ChannelBuffers#wrappedBuffer(ByteBuffer)} instead of calling the
* constructor explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class ByteBufferBackedChannelBuffer extends AbstractChannelBuffer {

View File

@ -229,7 +229,7 @@ import java.nio.charset.UnsupportedCharsetException;
* Please refer to {@link ChannelBufferInputStream} and
* {@link ChannelBufferOutputStream}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -21,7 +21,7 @@ import java.nio.ByteOrder;
/**
* A factory that creates or pools {@link ChannelBuffer}s.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ChannelBufferFactory {

View File

@ -25,7 +25,7 @@ package io.netty.buffer;
* {@link ChannelBuffer#bytesBefore(int, int, ChannelBufferIndexFinder)}
* for more explanation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.uses io.netty.buffer.ChannelBuffer

View File

@ -32,7 +32,7 @@ import java.io.InputStream;
* The endianness of the stream is not always big endian but depends on
* the endianness of the underlying buffer.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @see ChannelBufferOutputStream

View File

@ -31,7 +31,7 @@ import java.io.OutputStream;
* The endianness of the stream is not always big endian but depends on
* the endianness of the underlying buffer.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @see ChannelBufferInputStream

View File

@ -82,7 +82,7 @@ import io.netty.util.CharsetUtil;
* of a new buffer type, generation of hex dump and swapping an integer's
* byte order.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -32,7 +32,7 @@ import java.util.List;
* is recommended to use {@link ChannelBuffers#wrappedBuffer(ChannelBuffer...)}
* instead of calling the constructor explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
* @author Frederic Bregier (fredbregier@free.fr)
*/

View File

@ -30,7 +30,7 @@ import java.nio.ByteOrder;
* this problem by allocating a large chunk of pre-allocated direct buffer and
* reducing the number of the garbage collected internal direct buffer objects.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DirectChannelBufferFactory extends AbstractChannelBufferFactory {

View File

@ -29,7 +29,7 @@ import java.nio.channels.ScatteringByteChannel;
* parent. It is recommended to use {@link ChannelBuffer#duplicate()} instead
* of calling the constructor explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DuplicatedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {

View File

@ -29,7 +29,7 @@ import java.nio.channels.ScatteringByteChannel;
* recommended to use {@link ChannelBuffers#dynamicBuffer(int)} instead of
* calling the constructor explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DynamicChannelBuffer extends AbstractChannelBuffer {

View File

@ -26,7 +26,7 @@ import java.nio.channels.ScatteringByteChannel;
/**
* A skeletal implementation for Java heap buffers.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public abstract class HeapChannelBuffer extends AbstractChannelBuffer {

View File

@ -24,7 +24,7 @@ import java.nio.ByteOrder;
* very well in most situations because it relies on the JVM garbage collector,
* which is highly optimized for heap allocation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class HeapChannelBufferFactory extends AbstractChannelBufferFactory {

View File

@ -23,7 +23,7 @@ import java.nio.ByteOrder;
* and {@link ChannelBuffers#wrappedBuffer(ByteOrder, byte[])} instead of
* calling the constructor explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class LittleEndianHeapChannelBuffer extends HeapChannelBuffer {

View File

@ -29,7 +29,7 @@ import java.nio.channels.ScatteringByteChannel;
* recommended to use {@link ChannelBuffers#unmodifiableBuffer(ChannelBuffer)}
* instead of calling the constructor explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class ReadOnlyChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {

View File

@ -30,7 +30,7 @@ import java.nio.channels.ScatteringByteChannel;
* {@link ChannelBuffer#slice(int, int)} instead of calling the constructor
* explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class SlicedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {

View File

@ -30,7 +30,7 @@ import java.nio.channels.ScatteringByteChannel;
* {@link ChannelBuffer#slice(int, int)} instead of calling the constructor
* explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class TruncatedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {

View File

@ -19,7 +19,7 @@ package io.netty.buffer;
* The common interface for buffer wrappers and derived buffers. Most users won't
* need to use this interface. It is used internally in most cases.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface WrappedChannelBuffer extends ChannelBuffer {

View File

@ -23,7 +23,7 @@ import io.netty.util.internal.ConcurrentHashMap;
/**
* A skeletal {@link Channel} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
*/

View File

@ -20,7 +20,7 @@ import static io.netty.channel.Channels.*;
/**
* A skeletal {@link ChannelSink} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public abstract class AbstractChannelSink implements ChannelSink {

View File

@ -30,7 +30,7 @@ import java.net.SocketAddress;
* <li>and the shortcut methods which calls the methods mentioned above
* </ul>
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public abstract class AbstractServerChannel extends AbstractChannel implements ServerChannel {

View File

@ -28,7 +28,7 @@ import java.util.List;
* amount of the allocated buffer two times consecutively. Otherwise, it keeps
* returning the same prediction.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class AdaptiveReceiveBufferSizePredictor implements

View File

@ -20,7 +20,7 @@ package io.netty.channel;
* The {@link ReceiveBufferSizePredictorFactory} that creates a new
* {@link AdaptiveReceiveBufferSizePredictor}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class AdaptiveReceiveBufferSizePredictorFactory implements

View File

@ -100,7 +100,7 @@ import io.netty.channel.socket.nio.NioSocketChannelConfig;
* to determine when to set or clear the {@link #OP_WRITE} flag.
* </p>
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -60,7 +60,7 @@ import io.netty.channel.socket.nio.NioSocketChannelConfig;
* example, you can configure the parameters which are specific to a TCP/IP
* socket as explained in {@link SocketChannelConfig} or {@link NioSocketChannelConfig}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.has io.netty.channel.ChannelPipelineFactory

View File

@ -68,7 +68,7 @@ package io.netty.channel;
* accesses a shared resource or stores stateful information, you might need
* proper synchronization in the handler implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.exclude ^org\.jboss\.netty\.handler\..*$

View File

@ -178,7 +178,7 @@ import io.netty.channel.socket.ServerSocketChannel;
* documentation to find out how an event flows in a pipeline and how to handle
* the event in your application.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -18,7 +18,7 @@ package io.netty.channel;
/**
* A {@link RuntimeException} which is thrown when an I/O operation fails.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.hidden

View File

@ -47,7 +47,7 @@ import io.netty.util.ExternalResourceReleasable;
* please refer to the Javadoc of {@link ChannelFactory}'s subtypes, such as
* {@link NioServerSocketChannelFactory}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -164,7 +164,7 @@ import io.netty.handler.execution.ExecutionHandler;
* }
* </pre>
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -30,7 +30,7 @@ import java.util.EventListener;
* to perform a blocking operation on I/O completion, try to execute the
* operation in a different thread using a thread pool.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ChannelFutureListener extends EventListener {

View File

@ -36,7 +36,7 @@ package io.netty.channel;
* to perform a blocking operation on I/O completion, try to execute the
* operation in a different thread using a thread pool.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ChannelFutureProgressListener extends ChannelFutureListener {

View File

@ -203,7 +203,7 @@ import io.netty.channel.group.ChannelGroup;
* out what a upstream event and a downstream event are, what fundamental
* differences they have, and how they flow in a pipeline.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
@ -223,7 +223,7 @@ public interface ChannelHandler {
* This annotation is provided for documentation purpose, just like
* <a href="http://www.javaconcurrencyinpractice.com/annotations/doc/">the JCIP annotations</a>.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
@Inherited

View File

@ -117,7 +117,7 @@ package io.netty.channel;
* event are, what fundamental differences they have, how they flow in a
* pipeline, and how to handle the event in your application.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.owns io.netty.channel.ChannelHandler

View File

@ -20,7 +20,7 @@ package io.netty.channel;
* {@link LifeCycleAwareChannelHandler} throws an {@link Exception}
* in its handler methods.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.hidden

View File

@ -29,7 +29,7 @@ import io.netty.util.internal.ConcurrentIdentityWeakKeyHashMap;
* {@link ChannelHandlerContext#setAttachment(Object) ChannelHandlerContext.attachment}
* property, which performs better.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @deprecated Use {@link Channel#setAttachment(Object)} and {@link Channel#getAttachment()}

View File

@ -201,7 +201,7 @@ import io.netty.handler.ssl.SslHandler;
* before the removal or make sure there is at least one more handler between
* <tt>FirstHandler</tt> and <tt>SecondHandler</tt>.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -20,7 +20,7 @@ package io.netty.channel;
* failed to process a {@link ChannelEvent} or when a {@link ChannelPipelineFactory}
* failed to initialize a {@link ChannelPipeline}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.hidden

View File

@ -32,7 +32,7 @@ import io.netty.bootstrap.ConnectionlessBootstrap;
* creates a new channel, it uses the {@link Bootstrap#getPipelineFactory() "pipelineFactory"}
* property to create a new {@link ChannelPipeline} for each new channel.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.has io.netty.channel.ChannelPipeline oneway - - creates

View File

@ -23,7 +23,7 @@ package io.netty.channel;
* implemented by a transport provider. Most users will not see this type
* in their code.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.uses io.netty.channel.ChannelPipeline - - sends events upstream

View File

@ -74,7 +74,7 @@ import java.net.SocketAddress;
* <p>
* To see how an event is interpreted further, please refer to {@link ChannelEvent}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public enum ChannelState {

View File

@ -24,7 +24,7 @@ package io.netty.channel;
* find out what an upstream event and a downstream event are and what
* fundamental differences they have.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.has io.netty.channel.ChannelState

View File

@ -84,7 +84,7 @@ import io.netty.handler.execution.ExecutionHandler;
* dispatch the events. Please refer to {@link ExecutionHandler} for more
* information.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.exclude ^org\.jboss\.netty\.handler\..*$

View File

@ -46,7 +46,7 @@ import io.netty.util.internal.ConversionUtil;
* {@link ChannelHandlerContext#sendUpstream(ChannelEvent)} or
* {@link ChannelHandlerContext#sendDownstream(ChannelEvent)} by yourself.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -21,7 +21,7 @@ package io.netty.channel;
* refer to the {@link ChannelEvent} documentation to find out what an upstream
* event and a downstream event are and what fundamental differences they have.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ChildChannelStateEvent extends ChannelEvent {

View File

@ -24,7 +24,7 @@ import io.netty.logging.InternalLoggerFactory;
* A skeletal {@link ChannelFuture} implementation which represents a
* {@link ChannelFuture} which has been completed already.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public abstract class CompleteChannelFuture implements ChannelFuture {

View File

@ -26,7 +26,7 @@ import io.netty.util.internal.ConversionUtil;
/**
* The default {@link SocketChannelConfig} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultChannelConfig implements ChannelConfig {

View File

@ -32,7 +32,7 @@ import io.netty.util.internal.DeadLockProofWorker;
* to create a new {@link ChannelFuture} rather than calling the constructor
* explicitly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultChannelFuture implements ChannelFuture {

View File

@ -30,7 +30,7 @@ import io.netty.logging.InternalLoggerFactory;
* to use {@link Channels#pipeline()} to create a new {@link ChannelPipeline}
* instance rather than calling the constructor directly.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultChannelPipeline implements ChannelPipeline {

View File

@ -20,7 +20,7 @@ import static io.netty.channel.Channels.*;
/**
* The default {@link ChildChannelStateEvent} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultChildChannelStateEvent implements ChildChannelStateEvent {

View File

@ -22,7 +22,7 @@ import io.netty.util.internal.StackTraceSimplifier;
/**
* The default {@link ExceptionEvent} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultExceptionEvent implements ExceptionEvent {

View File

@ -25,7 +25,7 @@ import io.netty.channel.socket.ServerSocketChannelConfig;
/**
* The default {@link ServerSocketChannelConfig} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultServerChannelConfig implements ChannelConfig {

View File

@ -20,7 +20,7 @@ import static io.netty.channel.Channels.*;
/**
* The default {@link WriteCompletionEvent} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultWriteCompletionEvent implements WriteCompletionEvent {

View File

@ -18,7 +18,7 @@ package io.netty.channel;
/**
* The default downstream {@link ChannelStateEvent} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DownstreamChannelStateEvent implements ChannelStateEvent {

View File

@ -22,7 +22,7 @@ import io.netty.util.internal.StringUtil;
/**
* The default downstream {@link MessageEvent} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DownstreamMessageEvent implements MessageEvent {

View File

@ -22,7 +22,7 @@ package io.netty.channel;
* to find out what an upstream event and a downstream event are and what
* fundamental differences they have.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ExceptionEvent extends ChannelEvent {

View File

@ -20,7 +20,7 @@ package io.netty.channel;
* recommended to use {@link Channels#failedFuture(Channel, Throwable)}
* instead of calling the constructor of this future.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class FailedChannelFuture extends CompleteChannelFuture {

View File

@ -54,7 +54,7 @@ import io.netty.util.ExternalResourceReleasable;
* Attempting to write a {@link FileRegion} to non-NIO {@link Channel} will trigger
* a {@link ClassCastException} or a similar exception.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface FileRegion extends ExternalResourceReleasable {

View File

@ -20,7 +20,7 @@ package io.netty.channel;
* The {@link ReceiveBufferSizePredictor} that always yields the same buffer
* size prediction. This predictor ignores the feed back from the I/O thread.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class FixedReceiveBufferSizePredictor implements

View File

@ -20,7 +20,7 @@ package io.netty.channel;
* The {@link ReceiveBufferSizePredictorFactory} that returns a
* {@link FixedReceiveBufferSizePredictor} with the pre-defined configuration.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class FixedReceiveBufferSizePredictorFactory implements

View File

@ -28,7 +28,7 @@ package io.netty.channel;
* might not have been fully added to the pipeline or the context object is not
* a part of the pipeline anymore respectively.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface LifeCycleAwareChannelHandler extends ChannelHandler {

View File

@ -25,7 +25,7 @@ import java.net.SocketAddress;
* documentation to find out what an upstream event and a downstream event are
* and what fundamental differences they have.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface MessageEvent extends ChannelEvent {

View File

@ -30,7 +30,7 @@ import io.netty.buffer.ChannelBuffer;
* known, an I/O thread will call {@link #previousReceiveBufferSize(int)} to
* update the predictor so it can predict more accurately next time.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ReceiveBufferSizePredictor {

View File

@ -18,7 +18,7 @@ package io.netty.channel;
/**
* Creates a new {@link ReceiveBufferSizePredictor}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.has io.netty.channel.ReceiveBufferSizePredictor oneway - - creates

View File

@ -22,7 +22,7 @@ import io.netty.channel.socket.ServerSocketChannel;
* its child {@link Channel}s by accepting them. {@link ServerSocketChannel} is
* a good example.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ServerChannel extends Channel {

View File

@ -18,7 +18,7 @@ package io.netty.channel;
/**
* A {@link ChannelFactory} that creates a {@link ServerChannel}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.has io.netty.channel.ServerChannel oneway - - creates

View File

@ -50,7 +50,7 @@ import java.net.SocketAddress;
* }
* }</pre>
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class SimpleChannelDownstreamHandler implements ChannelDownstreamHandler {

View File

@ -71,7 +71,7 @@ import io.netty.logging.InternalLoggerFactory;
* }
* }</pre>
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class SimpleChannelHandler implements ChannelUpstreamHandler, ChannelDownstreamHandler {

View File

@ -51,7 +51,7 @@ import io.netty.logging.InternalLoggerFactory;
* }
* }</pre>
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {

View File

@ -31,7 +31,7 @@ import io.netty.util.internal.ConversionUtil;
* An attempt to insert, remove, or replace a handler in this pipeline will
* trigger an {@link UnsupportedOperationException}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class StaticChannelPipeline implements ChannelPipeline {

View File

@ -20,7 +20,7 @@ package io.netty.channel;
* recommended to use {@link Channels#succeededFuture(Channel)} instead of
* calling the constructor of this future.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class SucceededChannelFuture extends CompleteChannelFuture {

View File

@ -20,7 +20,7 @@ import static io.netty.channel.Channels.*;
/**
* The default upstream {@link ChannelStateEvent} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class UpstreamChannelStateEvent implements ChannelStateEvent {

View File

@ -24,7 +24,7 @@ import io.netty.util.internal.StringUtil;
/**
* The default upstream {@link MessageEvent} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class UpstreamMessageEvent implements MessageEvent {

View File

@ -22,7 +22,7 @@ package io.netty.channel;
* what an upstream event and a downstream event are and what fundamental
* differences they have.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface WriteCompletionEvent extends ChannelEvent {

View File

@ -88,7 +88,7 @@ import io.netty.util.CharsetUtil;
* }
* </pre>
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -108,7 +108,7 @@ import io.netty.handler.execution.ExecutionHandler;
* make sure you do not call {@link #await()} in an I/O thread. Otherwise,
* {@link IllegalStateException} will be raised to prevent a dead lock.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.owns io.netty.channel.group.ChannelGroupFutureListener - - notifies

View File

@ -23,7 +23,7 @@ import java.util.EventListener;
* listener is added by calling {@link ChannelGroupFuture#addListener(ChannelGroupFutureListener)}
* and all I/O operations are complete.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ChannelGroupFutureListener extends EventListener {

View File

@ -19,7 +19,7 @@ import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
final class CombinedIterator<E> implements Iterator<E> {

View File

@ -35,7 +35,7 @@ import io.netty.util.internal.ConcurrentHashMap;
/**
* The default {@link ChannelGroup} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark

View File

@ -36,7 +36,7 @@ import io.netty.util.internal.DeadLockProofWorker;
/**
* The default {@link ChannelGroupFuture} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class DefaultChannelGroupFuture implements ChannelGroupFuture {

View File

@ -36,7 +36,7 @@ import io.netty.util.internal.QueueFactory;
import io.netty.util.internal.ThreadLocalBoolean;
/**
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/

View File

@ -21,7 +21,7 @@ import io.netty.channel.ChannelSink;
/**
* The default {@link LocalClientChannelFactory} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*

View File

@ -27,7 +27,7 @@ import io.netty.channel.ChannelSink;
import io.netty.channel.DefaultServerChannelConfig;
/**
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/

View File

@ -21,7 +21,7 @@ import io.netty.channel.ChannelSink;
/**
* The default {@link LocalServerChannelFactory} implementation.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*

View File

@ -28,7 +28,7 @@ import java.net.SocketAddress;
* and is released as soon as the connection is closed. All ephemeral addresses
* have the same ID, {@code "ephemeral"}, but they are not equal to each other.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*

View File

@ -20,7 +20,7 @@ import io.netty.channel.Channel;
/**
* A {@link Channel} for the local transport.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/

View File

@ -21,7 +21,7 @@ import io.netty.channel.Channel;
import io.netty.util.internal.ConcurrentHashMap;
/**
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
final class LocalChannelRegistry {

View File

@ -21,7 +21,7 @@ import io.netty.channel.ChannelPipeline;
/**
* A {@link ChannelFactory} that creates a client-side {@link LocalChannel}.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface LocalClientChannelFactory extends ChannelFactory {

View File

@ -33,7 +33,7 @@ import io.netty.logging.InternalLogger;
import io.netty.logging.InternalLoggerFactory;
/**
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/

View File

@ -20,7 +20,7 @@ import io.netty.channel.ServerChannel;
/**
* A {@link ServerChannel} for the local transport.
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/

Some files were not shown because too many files have changed in this diff Show More