This commit is contained in:
parent
7518e98525
commit
015daec3fa
@ -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.
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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. 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. It greatly simplifies and streamlines network programming such as TCP/IP socket server.</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. 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. It greatly simplifies and streamlines network programming such as TCP/IP socket server.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
*/
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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>
|
||||
*
|
||||
*/
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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\..*$
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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()}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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\..*$
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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> {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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>
|
||||
*/
|
||||
|
@ -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>
|
||||
*
|
||||
|
@ -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>
|
||||
*/
|
||||
|
@ -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>
|
||||
*
|
||||
|
@ -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>
|
||||
*
|
||||
|
@ -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>
|
||||
*/
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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>
|
||||
*/
|
||||
|
@ -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
Loading…
x
Reference in New Issue
Block a user