Remove @author and @version / Remove COPYRIGHT.txt
* The new copyright header replaces @author * COPYRIGHT.txt is irrelevant to us now.
This commit is contained in:
parent
015daec3fa
commit
59f39cae75
@ -1,16 +0,0 @@
|
|||||||
The Netty Project - Copyright 2009 Red Hat, Inc, and is licensed under the
|
|
||||||
Apache License version 2.0 as published by the Apache Software Foundation.
|
|
||||||
|
|
||||||
A summary of the individual contributors is given below. Any omission should be
|
|
||||||
sent to Trustin Lee <trustin@gmail.com>.
|
|
||||||
|
|
||||||
SVN Login(s) Name
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
amit.bhayani@jboss.com Amit Bhayani
|
|
||||||
ataylor Andy Taylor
|
|
||||||
beve Daniel Bevenius
|
|
||||||
fredbregier Frederic Bregier
|
|
||||||
trustin Trustin Heuiseung Lee
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
* JBoss is a registered trademark of Red Hat, Inc.
|
|
@ -39,10 +39,6 @@ import io.netty.util.ExternalResourceReleasable;
|
|||||||
* structure. Please refer to {@link ClientBootstrap}, {@link ServerBootstrap},
|
* structure. Please refer to {@link ClientBootstrap}, {@link ServerBootstrap},
|
||||||
* and {@link ConnectionlessBootstrap} for client side, server-side, and
|
* and {@link ConnectionlessBootstrap} for client side, server-side, and
|
||||||
* connectionless (e.g. UDP) channel initialization respectively.
|
* connectionless (e.g. UDP) channel initialization respectively.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.uses io.netty.channel.ChannelFactory
|
||||||
*/
|
*/
|
||||||
public class Bootstrap implements ExternalResourceReleasable {
|
public class Bootstrap implements ExternalResourceReleasable {
|
||||||
|
@ -102,10 +102,6 @@ import io.netty.channel.Channels;
|
|||||||
* {@link ClientBootstrap} instances as you want with the same
|
* {@link ClientBootstrap} instances as you want with the same
|
||||||
* {@link ChannelFactory} to apply different settings for different
|
* {@link ChannelFactory} to apply different settings for different
|
||||||
* {@link Channel}s.
|
* {@link Channel}s.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public class ClientBootstrap extends Bootstrap {
|
public class ClientBootstrap extends Bootstrap {
|
||||||
|
@ -111,10 +111,6 @@ import io.netty.channel.Channels;
|
|||||||
* many {@link ConnectionlessBootstrap} instances as you want with the same
|
* many {@link ConnectionlessBootstrap} instances as you want with the same
|
||||||
* {@link ChannelFactory} to apply different settings for different
|
* {@link ChannelFactory} to apply different settings for different
|
||||||
* {@link Channel}s.
|
* {@link Channel}s.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public class ConnectionlessBootstrap extends Bootstrap {
|
public class ConnectionlessBootstrap extends Bootstrap {
|
||||||
|
@ -152,10 +152,6 @@ import io.netty.channel.SimpleChannelUpstreamHandler;
|
|||||||
* {@link ServerBootstrap} instances as you want with the same
|
* {@link ServerBootstrap} instances as you want with the same
|
||||||
* {@link ChannelFactory} to apply different settings for different
|
* {@link ChannelFactory} to apply different settings for different
|
||||||
* {@link Channel}s.
|
* {@link Channel}s.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public class ServerBootstrap extends Bootstrap {
|
public class ServerBootstrap extends Bootstrap {
|
||||||
|
@ -26,9 +26,6 @@ import java.nio.charset.Charset;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A skeletal implementation of a buffer.
|
* A skeletal implementation of a buffer.
|
||||||
*
|
|
||||||
* @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 {
|
public abstract class AbstractChannelBuffer implements ChannelBuffer {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ import java.nio.ByteOrder;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A skeletal implementation of {@link ChannelBufferFactory}.
|
* A skeletal implementation of {@link ChannelBufferFactory}.
|
||||||
*
|
|
||||||
* @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 {
|
public abstract class AbstractChannelBufferFactory implements ChannelBufferFactory {
|
||||||
|
|
||||||
|
@ -22,9 +22,6 @@ import java.nio.ByteOrder;
|
|||||||
* A big-endian Java heap buffer. It is recommended to use {@link ChannelBuffers#buffer(int)}
|
* A big-endian Java heap buffer. It is recommended to use {@link ChannelBuffers#buffer(int)}
|
||||||
* and {@link ChannelBuffers#wrappedBuffer(byte[])} instead of calling the
|
* and {@link ChannelBuffers#wrappedBuffer(byte[])} instead of calling the
|
||||||
* constructor explicitly.
|
* constructor explicitly.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class BigEndianHeapChannelBuffer extends HeapChannelBuffer {
|
public class BigEndianHeapChannelBuffer extends HeapChannelBuffer {
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
|
|||||||
* A NIO {@link ByteBuffer} based buffer. It is recommended to use {@link ChannelBuffers#directBuffer(int)}
|
* A NIO {@link ByteBuffer} based buffer. It is recommended to use {@link ChannelBuffers#directBuffer(int)}
|
||||||
* and {@link ChannelBuffers#wrappedBuffer(ByteBuffer)} instead of calling the
|
* and {@link ChannelBuffers#wrappedBuffer(ByteBuffer)} instead of calling the
|
||||||
* constructor explicitly.
|
* constructor explicitly.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class ByteBufferBackedChannelBuffer extends AbstractChannelBuffer {
|
public class ByteBufferBackedChannelBuffer extends AbstractChannelBuffer {
|
||||||
|
|
||||||
|
@ -130,8 +130,6 @@ import java.nio.charset.UnsupportedCharsetException;
|
|||||||
* +-------------------+------------------+------------------+
|
* +-------------------+------------------+------------------+
|
||||||
* | | | |
|
* | | | |
|
||||||
* 0 <= readerIndex <= writerIndex <= capacity
|
* 0 <= readerIndex <= writerIndex <= capacity
|
||||||
*
|
|
||||||
*
|
|
||||||
* AFTER discardReadBytes()
|
* AFTER discardReadBytes()
|
||||||
*
|
*
|
||||||
* +------------------+--------------------------------------+
|
* +------------------+--------------------------------------+
|
||||||
@ -162,8 +160,6 @@ import java.nio.charset.UnsupportedCharsetException;
|
|||||||
* +-------------------+------------------+------------------+
|
* +-------------------+------------------+------------------+
|
||||||
* | | | |
|
* | | | |
|
||||||
* 0 <= readerIndex <= writerIndex <= capacity
|
* 0 <= readerIndex <= writerIndex <= capacity
|
||||||
*
|
|
||||||
*
|
|
||||||
* AFTER clear()
|
* AFTER clear()
|
||||||
*
|
*
|
||||||
* +---------------------------------------------------------+
|
* +---------------------------------------------------------+
|
||||||
@ -228,10 +224,6 @@ import java.nio.charset.UnsupportedCharsetException;
|
|||||||
*
|
*
|
||||||
* Please refer to {@link ChannelBufferInputStream} and
|
* Please refer to {@link ChannelBufferInputStream} and
|
||||||
* {@link ChannelBufferOutputStream}.
|
* {@link ChannelBufferOutputStream}.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public interface ChannelBuffer extends Comparable<ChannelBuffer> {
|
public interface ChannelBuffer extends Comparable<ChannelBuffer> {
|
||||||
@ -1360,7 +1352,6 @@ public interface ChannelBuffer extends Comparable<ChannelBuffer> {
|
|||||||
* @throws IndexOutOfBoundsException
|
* @throws IndexOutOfBoundsException
|
||||||
* if {@code src.readableBytes} is greater than
|
* if {@code src.readableBytes} is greater than
|
||||||
* {@code this.writableBytes}
|
* {@code this.writableBytes}
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
void writeBytes(ChannelBuffer src);
|
void writeBytes(ChannelBuffer src);
|
||||||
|
|
||||||
@ -1615,7 +1606,6 @@ public interface ChannelBuffer extends Comparable<ChannelBuffer> {
|
|||||||
* This method is identical to {@code buf.copy(buf.readerIndex(), buf.readableBytes())}.
|
* This method is identical to {@code buf.copy(buf.readerIndex(), buf.readableBytes())}.
|
||||||
* This method does not modify {@code readerIndex} or {@code writerIndex} of
|
* This method does not modify {@code readerIndex} or {@code writerIndex} of
|
||||||
* this buffer.
|
* this buffer.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
ChannelBuffer copy();
|
ChannelBuffer copy();
|
||||||
|
|
||||||
|
@ -20,9 +20,6 @@ import java.nio.ByteOrder;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A factory that creates or pools {@link ChannelBuffer}s.
|
* A factory that creates or pools {@link ChannelBuffer}s.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ChannelBufferFactory {
|
public interface ChannelBufferFactory {
|
||||||
|
|
||||||
|
@ -24,10 +24,6 @@ package io.netty.buffer;
|
|||||||
* refer to {@link ChannelBuffer#indexOf(int, int, ChannelBufferIndexFinder)} and
|
* refer to {@link ChannelBuffer#indexOf(int, int, ChannelBufferIndexFinder)} and
|
||||||
* {@link ChannelBuffer#bytesBefore(int, int, ChannelBufferIndexFinder)}
|
* {@link ChannelBuffer#bytesBefore(int, int, ChannelBufferIndexFinder)}
|
||||||
* for more explanation.
|
* for more explanation.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.uses io.netty.buffer.ChannelBuffer
|
||||||
*/
|
*/
|
||||||
public interface ChannelBufferIndexFinder {
|
public interface ChannelBufferIndexFinder {
|
||||||
|
@ -31,10 +31,6 @@ import java.io.InputStream;
|
|||||||
* This stream implements {@link DataInput} for your convenience.
|
* This stream implements {@link DataInput} for your convenience.
|
||||||
* The endianness of the stream is not always big endian but depends on
|
* The endianness of the stream is not always big endian but depends on
|
||||||
* the endianness of the underlying buffer.
|
* the endianness of the underlying buffer.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @see ChannelBufferOutputStream
|
* @see ChannelBufferOutputStream
|
||||||
* @apiviz.uses io.netty.buffer.ChannelBuffer
|
* @apiviz.uses io.netty.buffer.ChannelBuffer
|
||||||
*/
|
*/
|
||||||
|
@ -30,10 +30,6 @@ import java.io.OutputStream;
|
|||||||
* This stream implements {@link DataOutput} for your convenience.
|
* This stream implements {@link DataOutput} for your convenience.
|
||||||
* The endianness of the stream is not always big endian but depends on
|
* The endianness of the stream is not always big endian but depends on
|
||||||
* the endianness of the underlying buffer.
|
* the endianness of the underlying buffer.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @see ChannelBufferInputStream
|
* @see ChannelBufferInputStream
|
||||||
* @apiviz.uses io.netty.buffer.ChannelBuffer
|
* @apiviz.uses io.netty.buffer.ChannelBuffer
|
||||||
*/
|
*/
|
||||||
|
@ -81,10 +81,6 @@ import io.netty.util.CharsetUtil;
|
|||||||
* This class also provides various utility methods to help implementation
|
* This class also provides various utility methods to help implementation
|
||||||
* of a new buffer type, generation of hex dump and swapping an integer's
|
* of a new buffer type, generation of hex dump and swapping an integer's
|
||||||
* byte order.
|
* byte order.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.has io.netty.buffer.ChannelBuffer oneway - - creates
|
* @apiviz.has io.netty.buffer.ChannelBuffer oneway - - creates
|
||||||
*/
|
*/
|
||||||
|
@ -31,10 +31,6 @@ import java.util.List;
|
|||||||
* A virtual buffer which shows multiple buffers as a single merged buffer. It
|
* A virtual buffer which shows multiple buffers as a single merged buffer. It
|
||||||
* is recommended to use {@link ChannelBuffers#wrappedBuffer(ChannelBuffer...)}
|
* is recommended to use {@link ChannelBuffers#wrappedBuffer(ChannelBuffer...)}
|
||||||
* instead of calling the constructor explicitly.
|
* instead of calling the constructor explicitly.
|
||||||
*
|
|
||||||
* @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)
|
|
||||||
*/
|
*/
|
||||||
public class CompositeChannelBuffer extends AbstractChannelBuffer {
|
public class CompositeChannelBuffer extends AbstractChannelBuffer {
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ import java.nio.ByteOrder;
|
|||||||
* is much lower than the GC throughput of heap buffers. This factory avoids
|
* is much lower than the GC throughput of heap buffers. This factory avoids
|
||||||
* this problem by allocating a large chunk of pre-allocated direct buffer and
|
* this problem by allocating a large chunk of pre-allocated direct buffer and
|
||||||
* reducing the number of the garbage collected internal direct buffer objects.
|
* reducing the number of the garbage collected internal direct buffer objects.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DirectChannelBufferFactory extends AbstractChannelBufferFactory {
|
public class DirectChannelBufferFactory extends AbstractChannelBufferFactory {
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
|
|||||||
* A derived buffer which simply forwards all data access requests to its
|
* A derived buffer which simply forwards all data access requests to its
|
||||||
* parent. It is recommended to use {@link ChannelBuffer#duplicate()} instead
|
* parent. It is recommended to use {@link ChannelBuffer#duplicate()} instead
|
||||||
* of calling the constructor explicitly.
|
* of calling the constructor explicitly.
|
||||||
*
|
|
||||||
* @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 {
|
public class DuplicatedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
|
|||||||
* A dynamic capacity buffer which increases its capacity as needed. It is
|
* A dynamic capacity buffer which increases its capacity as needed. It is
|
||||||
* recommended to use {@link ChannelBuffers#dynamicBuffer(int)} instead of
|
* recommended to use {@link ChannelBuffers#dynamicBuffer(int)} instead of
|
||||||
* calling the constructor explicitly.
|
* calling the constructor explicitly.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DynamicChannelBuffer extends AbstractChannelBuffer {
|
public class DynamicChannelBuffer extends AbstractChannelBuffer {
|
||||||
|
|
||||||
|
@ -25,9 +25,6 @@ import java.nio.channels.ScatteringByteChannel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A skeletal implementation for Java heap buffers.
|
* A skeletal implementation for Java heap buffers.
|
||||||
*
|
|
||||||
* @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 {
|
public abstract class HeapChannelBuffer extends AbstractChannelBuffer {
|
||||||
|
|
||||||
|
@ -23,9 +23,6 @@ import java.nio.ByteOrder;
|
|||||||
* the specified capacity. {@link HeapChannelBufferFactory} should perform
|
* the specified capacity. {@link HeapChannelBufferFactory} should perform
|
||||||
* very well in most situations because it relies on the JVM garbage collector,
|
* very well in most situations because it relies on the JVM garbage collector,
|
||||||
* which is highly optimized for heap allocation.
|
* which is highly optimized for heap allocation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class HeapChannelBufferFactory extends AbstractChannelBufferFactory {
|
public class HeapChannelBufferFactory extends AbstractChannelBufferFactory {
|
||||||
|
|
||||||
|
@ -22,9 +22,6 @@ import java.nio.ByteOrder;
|
|||||||
* A little-endian Java heap buffer. It is recommended to use {@link ChannelBuffers#buffer(ByteOrder, int)}
|
* A little-endian Java heap buffer. It is recommended to use {@link ChannelBuffers#buffer(ByteOrder, int)}
|
||||||
* and {@link ChannelBuffers#wrappedBuffer(ByteOrder, byte[])} instead of
|
* and {@link ChannelBuffers#wrappedBuffer(ByteOrder, byte[])} instead of
|
||||||
* calling the constructor explicitly.
|
* calling the constructor explicitly.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class LittleEndianHeapChannelBuffer extends HeapChannelBuffer {
|
public class LittleEndianHeapChannelBuffer extends HeapChannelBuffer {
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
|
|||||||
* A derived buffer which forbids any write requests to its parent. It is
|
* A derived buffer which forbids any write requests to its parent. It is
|
||||||
* recommended to use {@link ChannelBuffers#unmodifiableBuffer(ChannelBuffer)}
|
* recommended to use {@link ChannelBuffers#unmodifiableBuffer(ChannelBuffer)}
|
||||||
* instead of calling the constructor explicitly.
|
* instead of calling the constructor explicitly.
|
||||||
*
|
|
||||||
* @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 {
|
public class ReadOnlyChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ import java.nio.channels.ScatteringByteChannel;
|
|||||||
* recommended to use {@link ChannelBuffer#slice()} and
|
* recommended to use {@link ChannelBuffer#slice()} and
|
||||||
* {@link ChannelBuffer#slice(int, int)} instead of calling the constructor
|
* {@link ChannelBuffer#slice(int, int)} instead of calling the constructor
|
||||||
* explicitly.
|
* explicitly.
|
||||||
*
|
|
||||||
* @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 {
|
public class SlicedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ import java.nio.channels.ScatteringByteChannel;
|
|||||||
* It is recommended to use {@link ChannelBuffer#slice()} and
|
* It is recommended to use {@link ChannelBuffer#slice()} and
|
||||||
* {@link ChannelBuffer#slice(int, int)} instead of calling the constructor
|
* {@link ChannelBuffer#slice(int, int)} instead of calling the constructor
|
||||||
* explicitly.
|
* explicitly.
|
||||||
*
|
|
||||||
* @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 {
|
public class TruncatedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {
|
||||||
|
|
||||||
|
@ -18,9 +18,6 @@ package io.netty.buffer;
|
|||||||
/**
|
/**
|
||||||
* The common interface for buffer wrappers and derived buffers. Most users won't
|
* 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.
|
* need to use this interface. It is used internally in most cases.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface WrappedChannelBuffer extends ChannelBuffer {
|
public interface WrappedChannelBuffer extends ChannelBuffer {
|
||||||
/**
|
/**
|
||||||
|
@ -22,10 +22,6 @@ import io.netty.util.internal.ConcurrentHashMap;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A skeletal {@link Channel} implementation.
|
* A skeletal {@link Channel} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractChannel implements Channel {
|
public abstract class AbstractChannel implements Channel {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A skeletal {@link ChannelSink} implementation.
|
* A skeletal {@link ChannelSink} implementation.
|
||||||
*
|
|
||||||
* @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 {
|
public abstract class AbstractChannelSink implements ChannelSink {
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ import java.net.SocketAddress;
|
|||||||
* <li>{@link #write(Object, SocketAddress)}</li>
|
* <li>{@link #write(Object, SocketAddress)}</li>
|
||||||
* <li>and the shortcut methods which calls the methods mentioned above
|
* <li>and the shortcut methods which calls the methods mentioned above
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
|
||||||
* @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 {
|
public abstract class AbstractServerChannel extends AbstractChannel implements ServerChannel {
|
||||||
|
|
||||||
|
@ -27,9 +27,6 @@ import java.util.List;
|
|||||||
* number of readable bytes if the read operation was not able to fill a certain
|
* number of readable bytes if the read operation was not able to fill a certain
|
||||||
* amount of the allocated buffer two times consecutively. Otherwise, it keeps
|
* amount of the allocated buffer two times consecutively. Otherwise, it keeps
|
||||||
* returning the same prediction.
|
* returning the same prediction.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class AdaptiveReceiveBufferSizePredictor implements
|
public class AdaptiveReceiveBufferSizePredictor implements
|
||||||
ReceiveBufferSizePredictor {
|
ReceiveBufferSizePredictor {
|
||||||
|
@ -19,9 +19,6 @@ package io.netty.channel;
|
|||||||
/**
|
/**
|
||||||
* The {@link ReceiveBufferSizePredictorFactory} that creates a new
|
* The {@link ReceiveBufferSizePredictorFactory} that creates a new
|
||||||
* {@link AdaptiveReceiveBufferSizePredictor}.
|
* {@link AdaptiveReceiveBufferSizePredictor}.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class AdaptiveReceiveBufferSizePredictorFactory implements
|
public class AdaptiveReceiveBufferSizePredictorFactory implements
|
||||||
ReceiveBufferSizePredictorFactory {
|
ReceiveBufferSizePredictorFactory {
|
||||||
|
@ -99,10 +99,6 @@ import io.netty.channel.socket.nio.NioSocketChannelConfig;
|
|||||||
* {@code writeBufferHighWaterMark} properties in {@link NioSocketChannelConfig}
|
* {@code writeBufferHighWaterMark} properties in {@link NioSocketChannelConfig}
|
||||||
* to determine when to set or clear the {@link #OP_WRITE} flag.
|
* to determine when to set or clear the {@link #OP_WRITE} flag.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.composedOf io.netty.channel.ChannelConfig
|
* @apiviz.composedOf io.netty.channel.ChannelConfig
|
||||||
* @apiviz.composedOf io.netty.channel.ChannelPipeline
|
* @apiviz.composedOf io.netty.channel.ChannelPipeline
|
||||||
@ -374,7 +370,6 @@ public interface Channel extends Comparable<Channel> {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Attaches an object to this {@link Channel} to store a stateful information
|
* Attaches an object to this {@link Channel} to store a stateful information
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
void setAttachment(Object attachment);
|
void setAttachment(Object attachment);
|
||||||
}
|
}
|
||||||
|
@ -59,10 +59,6 @@ import io.netty.channel.socket.nio.NioSocketChannelConfig;
|
|||||||
* More options are available in the sub-types of {@link ChannelConfig}. For
|
* More options are available in the sub-types of {@link ChannelConfig}. For
|
||||||
* example, you can configure the parameters which are specific to a TCP/IP
|
* example, you can configure the parameters which are specific to a TCP/IP
|
||||||
* socket as explained in {@link SocketChannelConfig} or {@link NioSocketChannelConfig}.
|
* socket as explained in {@link SocketChannelConfig} or {@link NioSocketChannelConfig}.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.has io.netty.channel.ChannelPipelineFactory
|
||||||
* @apiviz.composedOf io.netty.channel.ReceiveBufferSizePredictor
|
* @apiviz.composedOf io.netty.channel.ReceiveBufferSizePredictor
|
||||||
*
|
*
|
||||||
|
@ -67,10 +67,6 @@ package io.netty.channel;
|
|||||||
* may be invoked by more than one thread simultaneously. If the handler
|
* may be invoked by more than one thread simultaneously. If the handler
|
||||||
* accesses a shared resource or stores stateful information, you might need
|
* accesses a shared resource or stores stateful information, you might need
|
||||||
* proper synchronization in the handler implementation.
|
* proper synchronization in the handler implementation.
|
||||||
*
|
|
||||||
* @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\..*$
|
* @apiviz.exclude ^org\.jboss\.netty\.handler\..*$
|
||||||
*/
|
*/
|
||||||
public interface ChannelDownstreamHandler extends ChannelHandler {
|
public interface ChannelDownstreamHandler extends ChannelHandler {
|
||||||
|
@ -177,10 +177,6 @@ import io.netty.channel.socket.ServerSocketChannel;
|
|||||||
* Please refer to the {@link ChannelHandler} and {@link ChannelPipeline}
|
* Please refer to the {@link ChannelHandler} and {@link ChannelPipeline}
|
||||||
* documentation to find out how an event flows in a pipeline and how to handle
|
* documentation to find out how an event flows in a pipeline and how to handle
|
||||||
* the event in your application.
|
* the event in your application.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.composedOf io.netty.channel.ChannelFuture
|
* @apiviz.composedOf io.netty.channel.ChannelFuture
|
||||||
*/
|
*/
|
||||||
|
@ -17,10 +17,6 @@ package io.netty.channel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link RuntimeException} which is thrown when an I/O operation fails.
|
* A {@link RuntimeException} which is thrown when an I/O operation fails.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.hidden
|
* @apiviz.hidden
|
||||||
*/
|
*/
|
||||||
public class ChannelException extends RuntimeException {
|
public class ChannelException extends RuntimeException {
|
||||||
|
@ -46,10 +46,6 @@ import io.netty.util.ExternalResourceReleasable;
|
|||||||
* For detailed transport-specific information on shutting down a factory,
|
* For detailed transport-specific information on shutting down a factory,
|
||||||
* please refer to the Javadoc of {@link ChannelFactory}'s subtypes, such as
|
* please refer to the Javadoc of {@link ChannelFactory}'s subtypes, such as
|
||||||
* {@link NioServerSocketChannelFactory}.
|
* {@link NioServerSocketChannelFactory}.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.has io.netty.channel.Channel oneway - - creates
|
* @apiviz.has io.netty.channel.Channel oneway - - creates
|
||||||
*
|
*
|
||||||
|
@ -163,10 +163,6 @@ import io.netty.handler.execution.ExecutionHandler;
|
|||||||
* // Connection established successfully
|
* // Connection established successfully
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.owns io.netty.channel.ChannelFutureListener - - notifies
|
* @apiviz.owns io.netty.channel.ChannelFutureListener - - notifies
|
||||||
*/
|
*/
|
||||||
|
@ -24,10 +24,6 @@ import java.util.Set;
|
|||||||
* Class which is used to consolidate multiple channel futures into one, by
|
* Class which is used to consolidate multiple channel futures into one, by
|
||||||
* listening to the individual futures and producing an aggregated result
|
* listening to the individual futures and producing an aggregated result
|
||||||
* (success/failure) when all futures have completed.
|
* (success/failure) when all futures have completed.
|
||||||
*
|
|
||||||
* @author The Netty Project (netty-dev@lists.jboss.org)
|
|
||||||
* @author Iain McGinniss (iain.mcginniss@onedrum.com)
|
|
||||||
* @author OneDrum Ltd.
|
|
||||||
*/
|
*/
|
||||||
public class ChannelFutureAggregator implements ChannelFutureListener {
|
public class ChannelFutureAggregator implements ChannelFutureListener {
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ import java.util.EventListener;
|
|||||||
* in the handler method can cause an unexpected pause during I/O. If you need
|
* in the handler method can cause an unexpected pause during I/O. If you need
|
||||||
* to perform a blocking operation on I/O completion, try to execute the
|
* to perform a blocking operation on I/O completion, try to execute the
|
||||||
* operation in a different thread using a thread pool.
|
* operation in a different thread using a thread pool.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ChannelFutureListener extends EventListener {
|
public interface ChannelFutureListener extends EventListener {
|
||||||
|
|
||||||
|
@ -35,9 +35,6 @@ package io.netty.channel;
|
|||||||
* in the handler method can cause an unexpected pause during I/O. If you need
|
* in the handler method can cause an unexpected pause during I/O. If you need
|
||||||
* to perform a blocking operation on I/O completion, try to execute the
|
* to perform a blocking operation on I/O completion, try to execute the
|
||||||
* operation in a different thread using a thread pool.
|
* operation in a different thread using a thread pool.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ChannelFutureProgressListener extends ChannelFutureListener {
|
public interface ChannelFutureProgressListener extends ChannelFutureListener {
|
||||||
|
|
||||||
|
@ -202,10 +202,6 @@ import io.netty.channel.group.ChannelGroup;
|
|||||||
* Please refer to the {@link ChannelEvent} and {@link ChannelPipeline} to find
|
* Please refer to the {@link ChannelEvent} and {@link ChannelPipeline} to find
|
||||||
* out what a upstream event and a downstream event are, what fundamental
|
* out what a upstream event and a downstream event are, what fundamental
|
||||||
* differences they have, and how they flow in a pipeline.
|
* differences they have, and how they flow in a pipeline.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.exclude ^org\.jboss\.netty\.handler\..*$
|
* @apiviz.exclude ^org\.jboss\.netty\.handler\..*$
|
||||||
*/
|
*/
|
||||||
@ -222,9 +218,6 @@ public interface ChannelHandler {
|
|||||||
* <p>
|
* <p>
|
||||||
* This annotation is provided for documentation purpose, just like
|
* This annotation is provided for documentation purpose, just like
|
||||||
* <a href="http://www.javaconcurrencyinpractice.com/annotations/doc/">the JCIP annotations</a>.
|
* <a href="http://www.javaconcurrencyinpractice.com/annotations/doc/">the JCIP annotations</a>.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
@Inherited
|
@Inherited
|
||||||
@Documented
|
@Documented
|
||||||
|
@ -116,10 +116,6 @@ package io.netty.channel;
|
|||||||
* {@link ChannelPipeline} to find out what a upstream event and a downstream
|
* {@link ChannelPipeline} to find out what a upstream event and a downstream
|
||||||
* event are, what fundamental differences they have, how they flow in a
|
* event are, what fundamental differences they have, how they flow in a
|
||||||
* pipeline, and how to handle the event in your application.
|
* pipeline, and how to handle the event in your application.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.owns io.netty.channel.ChannelHandler
|
||||||
*/
|
*/
|
||||||
public interface ChannelHandlerContext {
|
public interface ChannelHandlerContext {
|
||||||
|
@ -19,10 +19,6 @@ package io.netty.channel;
|
|||||||
* A {@link RuntimeException} which is thrown when a
|
* A {@link RuntimeException} which is thrown when a
|
||||||
* {@link LifeCycleAwareChannelHandler} throws an {@link Exception}
|
* {@link LifeCycleAwareChannelHandler} throws an {@link Exception}
|
||||||
* in its handler methods.
|
* in its handler methods.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.hidden
|
* @apiviz.hidden
|
||||||
*/
|
*/
|
||||||
public class ChannelHandlerLifeCycleException extends RuntimeException {
|
public class ChannelHandlerLifeCycleException extends RuntimeException {
|
||||||
|
@ -28,14 +28,9 @@ import io.netty.util.internal.ConcurrentIdentityWeakKeyHashMap;
|
|||||||
* Alternatively, you might want to use the
|
* Alternatively, you might want to use the
|
||||||
* {@link ChannelHandlerContext#setAttachment(Object) ChannelHandlerContext.attachment}
|
* {@link ChannelHandlerContext#setAttachment(Object) ChannelHandlerContext.attachment}
|
||||||
* property, which performs better.
|
* property, which performs better.
|
||||||
*
|
|
||||||
* @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()}
|
* @deprecated Use {@link Channel#setAttachment(Object)} and {@link Channel#getAttachment()}
|
||||||
*
|
*
|
||||||
* @apiviz.stereotype utility
|
* @apiviz.stereotype utility
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class ChannelLocal<T> {
|
public class ChannelLocal<T> {
|
||||||
|
@ -200,10 +200,6 @@ import io.netty.handler.ssl.SslHandler;
|
|||||||
* To implement the expected behavior, you have to add <tt>SecondHandler</tt>
|
* To implement the expected behavior, you have to add <tt>SecondHandler</tt>
|
||||||
* before the removal or make sure there is at least one more handler between
|
* before the removal or make sure there is at least one more handler between
|
||||||
* <tt>FirstHandler</tt> and <tt>SecondHandler</tt>.
|
* <tt>FirstHandler</tt> and <tt>SecondHandler</tt>.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.composedOf io.netty.channel.ChannelHandlerContext
|
* @apiviz.composedOf io.netty.channel.ChannelHandlerContext
|
||||||
* @apiviz.owns io.netty.channel.ChannelHandler
|
* @apiviz.owns io.netty.channel.ChannelHandler
|
||||||
|
@ -19,10 +19,6 @@ package io.netty.channel;
|
|||||||
* A {@link ChannelException} which is thrown when a {@link ChannelPipeline}
|
* A {@link ChannelException} which is thrown when a {@link ChannelPipeline}
|
||||||
* failed to process a {@link ChannelEvent} or when a {@link ChannelPipelineFactory}
|
* failed to process a {@link ChannelEvent} or when a {@link ChannelPipelineFactory}
|
||||||
* failed to initialize a {@link ChannelPipeline}.
|
* failed to initialize a {@link ChannelPipeline}.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.hidden
|
* @apiviz.hidden
|
||||||
*/
|
*/
|
||||||
public class ChannelPipelineException extends ChannelException {
|
public class ChannelPipelineException extends ChannelException {
|
||||||
|
@ -31,10 +31,6 @@ import io.netty.bootstrap.ConnectionlessBootstrap;
|
|||||||
* Also, when a {@link ClientBootstrap} or {@link ConnectionlessBootstrap}
|
* Also, when a {@link ClientBootstrap} or {@link ConnectionlessBootstrap}
|
||||||
* creates a new channel, it uses the {@link Bootstrap#getPipelineFactory() "pipelineFactory"}
|
* creates a new channel, it uses the {@link Bootstrap#getPipelineFactory() "pipelineFactory"}
|
||||||
* property to create a new {@link ChannelPipeline} for each new channel.
|
* property to create a new {@link ChannelPipeline} for each new channel.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.has io.netty.channel.ChannelPipeline oneway - - creates
|
||||||
*/
|
*/
|
||||||
public interface ChannelPipelineFactory {
|
public interface ChannelPipelineFactory {
|
||||||
|
@ -22,10 +22,6 @@ package io.netty.channel;
|
|||||||
* A {@link ChannelSink} is an internal component which is supposed to be
|
* A {@link ChannelSink} is an internal component which is supposed to be
|
||||||
* implemented by a transport provider. Most users will not see this type
|
* implemented by a transport provider. Most users will not see this type
|
||||||
* in their code.
|
* in their code.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.uses io.netty.channel.ChannelPipeline - - sends events upstream
|
||||||
*/
|
*/
|
||||||
public interface ChannelSink {
|
public interface ChannelSink {
|
||||||
|
@ -73,9 +73,6 @@ import java.net.SocketAddress;
|
|||||||
* </table>
|
* </table>
|
||||||
* <p>
|
* <p>
|
||||||
* To see how an event is interpreted further, please refer to {@link ChannelEvent}.
|
* To see how an event is interpreted further, please refer to {@link ChannelEvent}.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public enum ChannelState {
|
public enum ChannelState {
|
||||||
/**
|
/**
|
||||||
|
@ -23,10 +23,6 @@ package io.netty.channel;
|
|||||||
* respectively. Please refer to the {@link ChannelEvent} documentation to
|
* respectively. Please refer to the {@link ChannelEvent} documentation to
|
||||||
* find out what an upstream event and a downstream event are and what
|
* find out what an upstream event and a downstream event are and what
|
||||||
* fundamental differences they have.
|
* fundamental differences they have.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.has io.netty.channel.ChannelState
|
||||||
*/
|
*/
|
||||||
public interface ChannelStateEvent extends ChannelEvent {
|
public interface ChannelStateEvent extends ChannelEvent {
|
||||||
|
@ -83,10 +83,6 @@ import io.netty.handler.execution.ExecutionHandler;
|
|||||||
* this behavior changes depending on what {@link Executor} was employed to
|
* this behavior changes depending on what {@link Executor} was employed to
|
||||||
* dispatch the events. Please refer to {@link ExecutionHandler} for more
|
* dispatch the events. Please refer to {@link ExecutionHandler} for more
|
||||||
* information.
|
* information.
|
||||||
*
|
|
||||||
* @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\..*$
|
* @apiviz.exclude ^org\.jboss\.netty\.handler\..*$
|
||||||
*/
|
*/
|
||||||
public interface ChannelUpstreamHandler extends ChannelHandler {
|
public interface ChannelUpstreamHandler extends ChannelHandler {
|
||||||
|
@ -45,10 +45,6 @@ import io.netty.util.internal.ConversionUtil;
|
|||||||
* event generation methods provided by {@link Channels} rather than calling
|
* event generation methods provided by {@link Channels} rather than calling
|
||||||
* {@link ChannelHandlerContext#sendUpstream(ChannelEvent)} or
|
* {@link ChannelHandlerContext#sendUpstream(ChannelEvent)} or
|
||||||
* {@link ChannelHandlerContext#sendDownstream(ChannelEvent)} by yourself.
|
* {@link ChannelHandlerContext#sendDownstream(ChannelEvent)} by yourself.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public class Channels {
|
public class Channels {
|
||||||
|
@ -20,9 +20,6 @@ package io.netty.channel;
|
|||||||
* a child {@link Channel}. This event is for going upstream only. Please
|
* a child {@link Channel}. This event is for going upstream only. Please
|
||||||
* refer to the {@link ChannelEvent} documentation to find out what an upstream
|
* refer to the {@link ChannelEvent} documentation to find out what an upstream
|
||||||
* event and a downstream event are and what fundamental differences they have.
|
* event and a downstream event are and what fundamental differences they have.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ChildChannelStateEvent extends ChannelEvent {
|
public interface ChildChannelStateEvent extends ChannelEvent {
|
||||||
|
|
||||||
|
@ -23,9 +23,6 @@ import io.netty.logging.InternalLoggerFactory;
|
|||||||
/**
|
/**
|
||||||
* A skeletal {@link ChannelFuture} implementation which represents a
|
* A skeletal {@link ChannelFuture} implementation which represents a
|
||||||
* {@link ChannelFuture} which has been completed already.
|
* {@link ChannelFuture} which has been completed already.
|
||||||
*
|
|
||||||
* @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 {
|
public abstract class CompleteChannelFuture implements ChannelFuture {
|
||||||
|
|
||||||
|
@ -25,9 +25,6 @@ import io.netty.util.internal.ConversionUtil;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link SocketChannelConfig} implementation.
|
* The default {@link SocketChannelConfig} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultChannelConfig implements ChannelConfig {
|
public class DefaultChannelConfig implements ChannelConfig {
|
||||||
|
|
||||||
|
@ -31,9 +31,6 @@ import io.netty.util.internal.DeadLockProofWorker;
|
|||||||
* use {@link Channels#future(Channel)} and {@link Channels#future(Channel, boolean)}
|
* use {@link Channels#future(Channel)} and {@link Channels#future(Channel, boolean)}
|
||||||
* to create a new {@link ChannelFuture} rather than calling the constructor
|
* to create a new {@link ChannelFuture} rather than calling the constructor
|
||||||
* explicitly.
|
* explicitly.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultChannelFuture implements ChannelFuture {
|
public class DefaultChannelFuture implements ChannelFuture {
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ import io.netty.logging.InternalLoggerFactory;
|
|||||||
* The default {@link ChannelPipeline} implementation. It is recommended
|
* The default {@link ChannelPipeline} implementation. It is recommended
|
||||||
* to use {@link Channels#pipeline()} to create a new {@link ChannelPipeline}
|
* to use {@link Channels#pipeline()} to create a new {@link ChannelPipeline}
|
||||||
* instance rather than calling the constructor directly.
|
* instance rather than calling the constructor directly.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultChannelPipeline implements ChannelPipeline {
|
public class DefaultChannelPipeline implements ChannelPipeline {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link ChildChannelStateEvent} implementation.
|
* The default {@link ChildChannelStateEvent} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultChildChannelStateEvent implements ChildChannelStateEvent {
|
public class DefaultChildChannelStateEvent implements ChildChannelStateEvent {
|
||||||
|
|
||||||
|
@ -21,9 +21,6 @@ import io.netty.util.internal.StackTraceSimplifier;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link ExceptionEvent} implementation.
|
* The default {@link ExceptionEvent} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultExceptionEvent implements ExceptionEvent {
|
public class DefaultExceptionEvent implements ExceptionEvent {
|
||||||
|
|
||||||
|
@ -24,9 +24,6 @@ import io.netty.channel.socket.ServerSocketChannelConfig;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link ServerSocketChannelConfig} implementation.
|
* The default {@link ServerSocketChannelConfig} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultServerChannelConfig implements ChannelConfig {
|
public class DefaultServerChannelConfig implements ChannelConfig {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link WriteCompletionEvent} implementation.
|
* The default {@link WriteCompletionEvent} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultWriteCompletionEvent implements WriteCompletionEvent {
|
public class DefaultWriteCompletionEvent implements WriteCompletionEvent {
|
||||||
|
|
||||||
|
@ -17,9 +17,6 @@ package io.netty.channel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default downstream {@link ChannelStateEvent} implementation.
|
* The default downstream {@link ChannelStateEvent} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DownstreamChannelStateEvent implements ChannelStateEvent {
|
public class DownstreamChannelStateEvent implements ChannelStateEvent {
|
||||||
|
|
||||||
|
@ -21,9 +21,6 @@ import io.netty.util.internal.StringUtil;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default downstream {@link MessageEvent} implementation.
|
* The default downstream {@link MessageEvent} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DownstreamMessageEvent implements MessageEvent {
|
public class DownstreamMessageEvent implements MessageEvent {
|
||||||
|
|
||||||
|
@ -21,9 +21,6 @@ package io.netty.channel;
|
|||||||
* going upstream only. Please refer to the {@link ChannelEvent} documentation
|
* going upstream only. Please refer to the {@link ChannelEvent} documentation
|
||||||
* to find out what an upstream event and a downstream event are and what
|
* to find out what an upstream event and a downstream event are and what
|
||||||
* fundamental differences they have.
|
* fundamental differences they have.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ExceptionEvent extends ChannelEvent {
|
public interface ExceptionEvent extends ChannelEvent {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ package io.netty.channel;
|
|||||||
* The {@link CompleteChannelFuture} which is failed already. It is
|
* The {@link CompleteChannelFuture} which is failed already. It is
|
||||||
* recommended to use {@link Channels#failedFuture(Channel, Throwable)}
|
* recommended to use {@link Channels#failedFuture(Channel, Throwable)}
|
||||||
* instead of calling the constructor of this future.
|
* instead of calling the constructor of this future.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class FailedChannelFuture extends CompleteChannelFuture {
|
public class FailedChannelFuture extends CompleteChannelFuture {
|
||||||
|
|
||||||
|
@ -53,9 +53,6 @@ import io.netty.util.ExternalResourceReleasable;
|
|||||||
* Currently, the NIO transport is the only transport that supports {@link FileRegion}.
|
* Currently, the NIO transport is the only transport that supports {@link FileRegion}.
|
||||||
* Attempting to write a {@link FileRegion} to non-NIO {@link Channel} will trigger
|
* Attempting to write a {@link FileRegion} to non-NIO {@link Channel} will trigger
|
||||||
* a {@link ClassCastException} or a similar exception.
|
* a {@link ClassCastException} or a similar exception.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface FileRegion extends ExternalResourceReleasable {
|
public interface FileRegion extends ExternalResourceReleasable {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ package io.netty.channel;
|
|||||||
/**
|
/**
|
||||||
* The {@link ReceiveBufferSizePredictor} that always yields the same buffer
|
* The {@link ReceiveBufferSizePredictor} that always yields the same buffer
|
||||||
* size prediction. This predictor ignores the feed back from the I/O thread.
|
* size prediction. This predictor ignores the feed back from the I/O thread.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class FixedReceiveBufferSizePredictor implements
|
public class FixedReceiveBufferSizePredictor implements
|
||||||
ReceiveBufferSizePredictor {
|
ReceiveBufferSizePredictor {
|
||||||
|
@ -19,9 +19,6 @@ package io.netty.channel;
|
|||||||
/**
|
/**
|
||||||
* The {@link ReceiveBufferSizePredictorFactory} that returns a
|
* The {@link ReceiveBufferSizePredictorFactory} that returns a
|
||||||
* {@link FixedReceiveBufferSizePredictor} with the pre-defined configuration.
|
* {@link FixedReceiveBufferSizePredictor} with the pre-defined configuration.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class FixedReceiveBufferSizePredictorFactory implements
|
public class FixedReceiveBufferSizePredictorFactory implements
|
||||||
ReceiveBufferSizePredictorFactory {
|
ReceiveBufferSizePredictorFactory {
|
||||||
|
@ -27,9 +27,6 @@ package io.netty.channel;
|
|||||||
* might lead to an unexpected behavior. It is because the context object
|
* might lead to an unexpected behavior. It is because the context object
|
||||||
* might not have been fully added to the pipeline or the context object is not
|
* might not have been fully added to the pipeline or the context object is not
|
||||||
* a part of the pipeline anymore respectively.
|
* a part of the pipeline anymore respectively.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface LifeCycleAwareChannelHandler extends ChannelHandler {
|
public interface LifeCycleAwareChannelHandler extends ChannelHandler {
|
||||||
void beforeAdd(ChannelHandlerContext ctx) throws Exception;
|
void beforeAdd(ChannelHandlerContext ctx) throws Exception;
|
||||||
|
@ -24,9 +24,6 @@ import java.net.SocketAddress;
|
|||||||
* downstream event respectively. Please refer to the {@link ChannelEvent}
|
* downstream event respectively. Please refer to the {@link ChannelEvent}
|
||||||
* documentation to find out what an upstream event and a downstream event are
|
* documentation to find out what an upstream event and a downstream event are
|
||||||
* and what fundamental differences they have.
|
* and what fundamental differences they have.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface MessageEvent extends ChannelEvent {
|
public interface MessageEvent extends ChannelEvent {
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ import io.netty.buffer.ChannelBuffer;
|
|||||||
* Once a read operation is performed and the actual number of read bytes is
|
* Once a read operation is performed and the actual number of read bytes is
|
||||||
* known, an I/O thread will call {@link #previousReceiveBufferSize(int)} to
|
* known, an I/O thread will call {@link #previousReceiveBufferSize(int)} to
|
||||||
* update the predictor so it can predict more accurately next time.
|
* update the predictor so it can predict more accurately next time.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ReceiveBufferSizePredictor {
|
public interface ReceiveBufferSizePredictor {
|
||||||
|
|
||||||
|
@ -17,10 +17,6 @@ package io.netty.channel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new {@link ReceiveBufferSizePredictor}.
|
* Creates a new {@link ReceiveBufferSizePredictor}.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.has io.netty.channel.ReceiveBufferSizePredictor oneway - - creates
|
||||||
*/
|
*/
|
||||||
public interface ReceiveBufferSizePredictorFactory {
|
public interface ReceiveBufferSizePredictorFactory {
|
||||||
|
@ -21,9 +21,6 @@ import io.netty.channel.socket.ServerSocketChannel;
|
|||||||
* A {@link Channel} that accepts an incoming connection attempt and creates
|
* A {@link Channel} that accepts an incoming connection attempt and creates
|
||||||
* its child {@link Channel}s by accepting them. {@link ServerSocketChannel} is
|
* its child {@link Channel}s by accepting them. {@link ServerSocketChannel} is
|
||||||
* a good example.
|
* a good example.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ServerChannel extends Channel {
|
public interface ServerChannel extends Channel {
|
||||||
// This is a tag interface.
|
// This is a tag interface.
|
||||||
|
@ -17,10 +17,6 @@ package io.netty.channel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link ChannelFactory} that creates a {@link ServerChannel}.
|
* A {@link ChannelFactory} that creates a {@link ServerChannel}.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.has io.netty.channel.ServerChannel oneway - - creates
|
||||||
*/
|
*/
|
||||||
public interface ServerChannelFactory extends ChannelFactory {
|
public interface ServerChannelFactory extends ChannelFactory {
|
||||||
|
@ -49,9 +49,6 @@ import java.net.SocketAddress;
|
|||||||
* <strong>super.handleDownstream(ctx, e);</strong>
|
* <strong>super.handleDownstream(ctx, e);</strong>
|
||||||
* }
|
* }
|
||||||
* }</pre>
|
* }</pre>
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class SimpleChannelDownstreamHandler implements ChannelDownstreamHandler {
|
public class SimpleChannelDownstreamHandler implements ChannelDownstreamHandler {
|
||||||
|
|
||||||
|
@ -70,9 +70,6 @@ import io.netty.logging.InternalLoggerFactory;
|
|||||||
* <strong>super.handleDownstream(ctx, e);</strong>
|
* <strong>super.handleDownstream(ctx, e);</strong>
|
||||||
* }
|
* }
|
||||||
* }</pre>
|
* }</pre>
|
||||||
*
|
|
||||||
* @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 {
|
public class SimpleChannelHandler implements ChannelUpstreamHandler, ChannelDownstreamHandler {
|
||||||
|
|
||||||
|
@ -50,9 +50,6 @@ import io.netty.logging.InternalLoggerFactory;
|
|||||||
* <strong>super.handleUpstream(ctx, e);</strong>
|
* <strong>super.handleUpstream(ctx, e);</strong>
|
||||||
* }
|
* }
|
||||||
* }</pre>
|
* }</pre>
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
|
public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
|
||||||
|
|
||||||
|
@ -30,9 +30,6 @@ import io.netty.util.internal.ConversionUtil;
|
|||||||
* disabled dynamic insertion and removal of {@link ChannelHandler}s.
|
* disabled dynamic insertion and removal of {@link ChannelHandler}s.
|
||||||
* An attempt to insert, remove, or replace a handler in this pipeline will
|
* An attempt to insert, remove, or replace a handler in this pipeline will
|
||||||
* trigger an {@link UnsupportedOperationException}.
|
* trigger an {@link UnsupportedOperationException}.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class StaticChannelPipeline implements ChannelPipeline {
|
public class StaticChannelPipeline implements ChannelPipeline {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ package io.netty.channel;
|
|||||||
* The {@link CompleteChannelFuture} which is succeeded already. It is
|
* The {@link CompleteChannelFuture} which is succeeded already. It is
|
||||||
* recommended to use {@link Channels#succeededFuture(Channel)} instead of
|
* recommended to use {@link Channels#succeededFuture(Channel)} instead of
|
||||||
* calling the constructor of this future.
|
* calling the constructor of this future.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class SucceededChannelFuture extends CompleteChannelFuture {
|
public class SucceededChannelFuture extends CompleteChannelFuture {
|
||||||
|
|
||||||
|
@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default upstream {@link ChannelStateEvent} implementation.
|
* The default upstream {@link ChannelStateEvent} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class UpstreamChannelStateEvent implements ChannelStateEvent {
|
public class UpstreamChannelStateEvent implements ChannelStateEvent {
|
||||||
|
|
||||||
|
@ -23,9 +23,6 @@ import io.netty.util.internal.StringUtil;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default upstream {@link MessageEvent} implementation.
|
* The default upstream {@link MessageEvent} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class UpstreamMessageEvent implements MessageEvent {
|
public class UpstreamMessageEvent implements MessageEvent {
|
||||||
|
|
||||||
|
@ -21,9 +21,6 @@ package io.netty.channel;
|
|||||||
* only. Please refer to the {@link ChannelEvent} documentation to find out
|
* only. Please refer to the {@link ChannelEvent} documentation to find out
|
||||||
* what an upstream event and a downstream event are and what fundamental
|
* what an upstream event and a downstream event are and what fundamental
|
||||||
* differences they have.
|
* differences they have.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface WriteCompletionEvent extends ChannelEvent {
|
public interface WriteCompletionEvent extends ChannelEvent {
|
||||||
/**
|
/**
|
||||||
|
@ -87,10 +87,6 @@ import io.netty.util.CharsetUtil;
|
|||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
* @apiviz.has io.netty.channel.group.ChannelGroupFuture oneway - - returns
|
* @apiviz.has io.netty.channel.group.ChannelGroupFuture oneway - - returns
|
||||||
*/
|
*/
|
||||||
|
@ -107,10 +107,6 @@ import io.netty.handler.execution.ExecutionHandler;
|
|||||||
* where it is more convenient to call {@link #await()}. In such a case, please
|
* where it is more convenient to call {@link #await()}. In such a case, please
|
||||||
* make sure you do not call {@link #await()} in an I/O thread. Otherwise,
|
* make sure you do not call {@link #await()} in an I/O thread. Otherwise,
|
||||||
* {@link IllegalStateException} will be raised to prevent a dead lock.
|
* {@link IllegalStateException} will be raised to prevent a dead lock.
|
||||||
*
|
|
||||||
* @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
|
* @apiviz.owns io.netty.channel.group.ChannelGroupFutureListener - - notifies
|
||||||
*/
|
*/
|
||||||
public interface ChannelGroupFuture extends Iterable<ChannelFuture> {
|
public interface ChannelGroupFuture extends Iterable<ChannelFuture> {
|
||||||
|
@ -22,9 +22,6 @@ import java.util.EventListener;
|
|||||||
* asynchronous {@link ChannelGroup} I/O operations is notified once this
|
* asynchronous {@link ChannelGroup} I/O operations is notified once this
|
||||||
* listener is added by calling {@link ChannelGroupFuture#addListener(ChannelGroupFutureListener)}
|
* listener is added by calling {@link ChannelGroupFuture#addListener(ChannelGroupFutureListener)}
|
||||||
* and all I/O operations are complete.
|
* and all I/O operations are complete.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public interface ChannelGroupFutureListener extends EventListener {
|
public interface ChannelGroupFutureListener extends EventListener {
|
||||||
|
|
||||||
|
@ -19,8 +19,6 @@ import java.util.Iterator;
|
|||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @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> {
|
final class CombinedIterator<E> implements Iterator<E> {
|
||||||
|
|
||||||
|
@ -34,10 +34,6 @@ import io.netty.util.internal.ConcurrentHashMap;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link ChannelGroup} implementation.
|
* The default {@link ChannelGroup} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public class DefaultChannelGroup extends AbstractSet<Channel> implements ChannelGroup {
|
public class DefaultChannelGroup extends AbstractSet<Channel> implements ChannelGroup {
|
||||||
|
@ -35,9 +35,6 @@ import io.netty.util.internal.DeadLockProofWorker;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link ChannelGroupFuture} implementation.
|
* The default {@link ChannelGroupFuture} implementation.
|
||||||
*
|
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
public class DefaultChannelGroupFuture implements ChannelGroupFuture {
|
public class DefaultChannelGroupFuture implements ChannelGroupFuture {
|
||||||
|
|
||||||
|
@ -23,14 +23,10 @@ import java.net.SocketAddress;
|
|||||||
* A {@link java.net.SocketAddress} implementation holding an
|
* A {@link java.net.SocketAddress} implementation holding an
|
||||||
* {@link java.io.InputStream} and an {@link java.io.OutputStream} instance used
|
* {@link java.io.InputStream} and an {@link java.io.OutputStream} instance used
|
||||||
* as "remote" address to connect to with a {@link IOStreamChannel}.
|
* as "remote" address to connect to with a {@link IOStreamChannel}.
|
||||||
*
|
|
||||||
* @author Daniel Bimschas
|
|
||||||
* @author Dennis Pfisterer
|
|
||||||
*/
|
*/
|
||||||
public class IOStreamAddress extends SocketAddress {
|
public class IOStreamAddress extends SocketAddress {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -4382415449059935960L;
|
private static final long serialVersionUID = -4382415449059935960L;
|
||||||
|
|
||||||
|
@ -22,9 +22,6 @@ import java.net.SocketAddress;
|
|||||||
/**
|
/**
|
||||||
* A channel to an {@link java.io.InputStream} and an
|
* A channel to an {@link java.io.InputStream} and an
|
||||||
* {@link java.io.OutputStream}.
|
* {@link java.io.OutputStream}.
|
||||||
*
|
|
||||||
* @author Daniel Bimschas
|
|
||||||
* @author Dennis Pfisterer
|
|
||||||
*/
|
*/
|
||||||
public class IOStreamChannel extends AbstractChannel {
|
public class IOStreamChannel extends AbstractChannel {
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ import java.util.concurrent.ExecutorService;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link io.netty.channel.ChannelFactory} for creating {@link IOStreamChannel} instances.
|
* A {@link io.netty.channel.ChannelFactory} for creating {@link IOStreamChannel} instances.
|
||||||
*
|
|
||||||
* @author Daniel Bimschas
|
|
||||||
* @author Dennis Pfisterer
|
|
||||||
*/
|
*/
|
||||||
public class IOStreamChannelFactory implements ChannelFactory {
|
public class IOStreamChannelFactory implements ChannelFactory {
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ import static io.netty.channel.Channels.*;
|
|||||||
/**
|
/**
|
||||||
* A {@link io.netty.channel.ChannelSink} implementation which reads from
|
* A {@link io.netty.channel.ChannelSink} implementation which reads from
|
||||||
* an {@link java.io.InputStream} and writes to an {@link java.io.OutputStream}.
|
* an {@link java.io.InputStream} and writes to an {@link java.io.OutputStream}.
|
||||||
*
|
|
||||||
* @author Daniel Bimschas
|
|
||||||
* @author Dennis Pfisterer
|
|
||||||
*/
|
*/
|
||||||
public class IOStreamChannelSink extends AbstractChannelSink {
|
public class IOStreamChannelSink extends AbstractChannelSink {
|
||||||
|
|
||||||
|
@ -36,9 +36,6 @@ import io.netty.util.internal.QueueFactory;
|
|||||||
import io.netty.util.internal.ThreadLocalBoolean;
|
import io.netty.util.internal.ThreadLocalBoolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @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>
|
|
||||||
*/
|
*/
|
||||||
final class DefaultLocalChannel extends AbstractChannel implements LocalChannel {
|
final class DefaultLocalChannel extends AbstractChannel implements LocalChannel {
|
||||||
|
|
||||||
|
@ -20,11 +20,6 @@ import io.netty.channel.ChannelSink;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link LocalClientChannelFactory} implementation.
|
* The default {@link LocalClientChannelFactory} implementation.
|
||||||
*
|
|
||||||
* @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>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public class DefaultLocalClientChannelFactory implements LocalClientChannelFactory {
|
public class DefaultLocalClientChannelFactory implements LocalClientChannelFactory {
|
||||||
|
@ -27,9 +27,6 @@ import io.netty.channel.ChannelSink;
|
|||||||
import io.netty.channel.DefaultServerChannelConfig;
|
import io.netty.channel.DefaultServerChannelConfig;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @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>
|
|
||||||
*/
|
*/
|
||||||
final class DefaultLocalServerChannel extends AbstractServerChannel implements
|
final class DefaultLocalServerChannel extends AbstractServerChannel implements
|
||||||
LocalServerChannel {
|
LocalServerChannel {
|
||||||
|
@ -20,11 +20,6 @@ import io.netty.channel.ChannelSink;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default {@link LocalServerChannelFactory} implementation.
|
* The default {@link LocalServerChannelFactory} implementation.
|
||||||
*
|
|
||||||
* @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>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public class DefaultLocalServerChannelFactory implements LocalServerChannelFactory {
|
public class DefaultLocalServerChannelFactory implements LocalServerChannelFactory {
|
||||||
|
@ -27,11 +27,6 @@ import java.net.SocketAddress;
|
|||||||
* An ephemeral address is an anonymous address which is assigned temporarily
|
* An ephemeral address is an anonymous address which is assigned temporarily
|
||||||
* and is released as soon as the connection is closed. All ephemeral addresses
|
* 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.
|
* have the same ID, {@code "ephemeral"}, but they are not equal to each other.
|
||||||
*
|
|
||||||
* @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>
|
|
||||||
*
|
|
||||||
* @apiviz.landmark
|
* @apiviz.landmark
|
||||||
*/
|
*/
|
||||||
public final class LocalAddress extends SocketAddress implements Comparable<LocalAddress> {
|
public final class LocalAddress extends SocketAddress implements Comparable<LocalAddress> {
|
||||||
|
@ -19,10 +19,6 @@ import io.netty.channel.Channel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link Channel} for the local transport.
|
* A {@link Channel} for the local transport.
|
||||||
*
|
|
||||||
* @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>
|
|
||||||
*/
|
*/
|
||||||
public interface LocalChannel extends Channel {
|
public interface LocalChannel extends Channel {
|
||||||
@Override
|
@Override
|
||||||
|
@ -21,8 +21,6 @@ import io.netty.channel.Channel;
|
|||||||
import io.netty.util.internal.ConcurrentHashMap;
|
import io.netty.util.internal.ConcurrentHashMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author <a href="http://netty.io/">The Netty Project</a>
|
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
|
||||||
*/
|
*/
|
||||||
final class LocalChannelRegistry {
|
final class LocalChannelRegistry {
|
||||||
|
|
||||||
|
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