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:
Trustin Lee 2011-12-09 13:43:34 +09:00
parent 015daec3fa
commit 59f39cae75
688 changed files with 48 additions and 2356 deletions

View File

@ -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.

View File

@ -39,10 +39,6 @@ import io.netty.util.ExternalResourceReleasable;
* structure. Please refer to {@link ClientBootstrap}, {@link ServerBootstrap},
* and {@link ConnectionlessBootstrap} for client side, server-side, and
* 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
*/
public class Bootstrap implements ExternalResourceReleasable {

View File

@ -102,10 +102,6 @@ import io.netty.channel.Channels;
* {@link ClientBootstrap} instances as you want with the same
* {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
*/
public class ClientBootstrap extends Bootstrap {

View File

@ -111,10 +111,6 @@ import io.netty.channel.Channels;
* many {@link ConnectionlessBootstrap} instances as you want with the same
* {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
*/
public class ConnectionlessBootstrap extends Bootstrap {

View File

@ -152,10 +152,6 @@ import io.netty.channel.SimpleChannelUpstreamHandler;
* {@link ServerBootstrap} instances as you want with the same
* {@link ChannelFactory} to apply different settings for different
* {@link Channel}s.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
*/
public class ServerBootstrap extends Bootstrap {

View File

@ -26,9 +26,6 @@ import java.nio.charset.Charset;
/**
* 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 {

View File

@ -19,9 +19,6 @@ import java.nio.ByteOrder;
/**
* 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 {

View File

@ -22,9 +22,6 @@ import java.nio.ByteOrder;
* A big-endian Java heap buffer. It is recommended to use {@link ChannelBuffers#buffer(int)}
* and {@link ChannelBuffers#wrappedBuffer(byte[])} 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 BigEndianHeapChannelBuffer extends HeapChannelBuffer {

View File

@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
* A NIO {@link ByteBuffer} based buffer. It is recommended to use {@link ChannelBuffers#directBuffer(int)}
* and {@link ChannelBuffers#wrappedBuffer(ByteBuffer)} 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 ByteBufferBackedChannelBuffer extends AbstractChannelBuffer {

View File

@ -130,8 +130,6 @@ import java.nio.charset.UnsupportedCharsetException;
* +-------------------+------------------+------------------+
* | | | |
* 0 <= readerIndex <= writerIndex <= capacity
*
*
* AFTER discardReadBytes()
*
* +------------------+--------------------------------------+
@ -162,8 +160,6 @@ import java.nio.charset.UnsupportedCharsetException;
* +-------------------+------------------+------------------+
* | | | |
* 0 <= readerIndex <= writerIndex <= capacity
*
*
* AFTER clear()
*
* +---------------------------------------------------------+
@ -228,10 +224,6 @@ import java.nio.charset.UnsupportedCharsetException;
*
* Please refer to {@link ChannelBufferInputStream} and
* {@link ChannelBufferOutputStream}.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
*/
public interface ChannelBuffer extends Comparable<ChannelBuffer> {
@ -1360,8 +1352,7 @@ public interface ChannelBuffer extends Comparable<ChannelBuffer> {
* @throws IndexOutOfBoundsException
* if {@code src.readableBytes} is greater than
* {@code this.writableBytes}
*
*/
*/
void writeBytes(ChannelBuffer src);
/**
@ -1615,8 +1606,7 @@ public interface ChannelBuffer extends Comparable<ChannelBuffer> {
* This method is identical to {@code buf.copy(buf.readerIndex(), buf.readableBytes())}.
* This method does not modify {@code readerIndex} or {@code writerIndex} of
* this buffer.
*
*/
*/
ChannelBuffer copy();
/**

View File

@ -20,9 +20,6 @@ import java.nio.ByteOrder;
/**
* 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 {

View File

@ -24,10 +24,6 @@ package io.netty.buffer;
* refer to {@link ChannelBuffer#indexOf(int, int, ChannelBufferIndexFinder)} and
* {@link ChannelBuffer#bytesBefore(int, int, ChannelBufferIndexFinder)}
* 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
*/
public interface ChannelBufferIndexFinder {

View File

@ -31,10 +31,6 @@ import java.io.InputStream;
* 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 underlying buffer.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @see ChannelBufferOutputStream
* @apiviz.uses io.netty.buffer.ChannelBuffer
*/

View File

@ -30,10 +30,6 @@ import java.io.OutputStream;
* 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 underlying buffer.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @see ChannelBufferInputStream
* @apiviz.uses io.netty.buffer.ChannelBuffer
*/

View File

@ -81,10 +81,6 @@ import io.netty.util.CharsetUtil;
* This class also provides various utility methods to help implementation
* of a new buffer type, generation of hex dump and swapping an integer's
* byte order.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
* @apiviz.has io.netty.buffer.ChannelBuffer oneway - - creates
*/

View File

@ -31,10 +31,6 @@ import java.util.List;
* A virtual buffer which shows multiple buffers as a single merged buffer. It
* is recommended to use {@link ChannelBuffers#wrappedBuffer(ChannelBuffer...)}
* 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 {

View File

@ -29,9 +29,6 @@ import java.nio.ByteOrder;
* 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
* 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 {

View File

@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
* A derived buffer which simply forwards all data access requests to its
* parent. It is recommended to use {@link ChannelBuffer#duplicate()} 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 DuplicatedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {

View File

@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
* A dynamic capacity buffer which increases its capacity as needed. It is
* recommended to use {@link ChannelBuffers#dynamicBuffer(int)} 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 DynamicChannelBuffer extends AbstractChannelBuffer {

View File

@ -25,9 +25,6 @@ import java.nio.channels.ScatteringByteChannel;
/**
* 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 {

View File

@ -23,9 +23,6 @@ import java.nio.ByteOrder;
* the specified capacity. {@link HeapChannelBufferFactory} should perform
* very well in most situations because it relies on the JVM garbage collector,
* 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 {

View File

@ -22,9 +22,6 @@ import java.nio.ByteOrder;
* A little-endian Java heap buffer. It is recommended to use {@link ChannelBuffers#buffer(ByteOrder, int)}
* and {@link ChannelBuffers#wrappedBuffer(ByteOrder, byte[])} 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 LittleEndianHeapChannelBuffer extends HeapChannelBuffer {

View File

@ -28,9 +28,6 @@ import java.nio.channels.ScatteringByteChannel;
* A derived buffer which forbids any write requests to its parent. It is
* recommended to use {@link ChannelBuffers#unmodifiableBuffer(ChannelBuffer)}
* 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 {

View File

@ -29,9 +29,6 @@ import java.nio.channels.ScatteringByteChannel;
* recommended to use {@link ChannelBuffer#slice()} and
* {@link ChannelBuffer#slice(int, int)} 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 SlicedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {

View File

@ -29,9 +29,6 @@ import java.nio.channels.ScatteringByteChannel;
* It is recommended to use {@link ChannelBuffer#slice()} and
* {@link ChannelBuffer#slice(int, int)} 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 TruncatedChannelBuffer extends AbstractChannelBuffer implements WrappedChannelBuffer {

View File

@ -18,9 +18,6 @@ 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface WrappedChannelBuffer extends ChannelBuffer {
/**

View File

@ -22,10 +22,6 @@ import io.netty.util.internal.ConcurrentHashMap;
/**
* 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 {

View File

@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
/**
* 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 {

View File

@ -29,9 +29,6 @@ import java.net.SocketAddress;
* <li>{@link #write(Object, SocketAddress)}</li>
* <li>and the shortcut methods which calls the methods mentioned above
* </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 {

View File

@ -27,9 +27,6 @@ import java.util.List;
* 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
* 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
ReceiveBufferSizePredictor {

View File

@ -19,9 +19,6 @@ package io.netty.channel;
/**
* The {@link ReceiveBufferSizePredictorFactory} that creates a new
* {@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
ReceiveBufferSizePredictorFactory {

View File

@ -99,10 +99,6 @@ import io.netty.channel.socket.nio.NioSocketChannelConfig;
* {@code writeBufferHighWaterMark} properties in {@link NioSocketChannelConfig}
* to determine when to set or clear the {@link #OP_WRITE} flag.
* </p>
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
* @apiviz.composedOf io.netty.channel.ChannelConfig
* @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
*
*/
*/
void setAttachment(Object attachment);
}

View File

@ -59,10 +59,6 @@ import io.netty.channel.socket.nio.NioSocketChannelConfig;
* 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
* 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.composedOf io.netty.channel.ReceiveBufferSizePredictor
*

View File

@ -67,10 +67,6 @@ package io.netty.channel;
* may be invoked by more than one thread simultaneously. If the handler
* accesses a shared resource or stores stateful information, you might need
* 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\..*$
*/
public interface ChannelDownstreamHandler extends ChannelHandler {

View File

@ -177,10 +177,6 @@ import io.netty.channel.socket.ServerSocketChannel;
* Please refer to the {@link ChannelHandler} and {@link ChannelPipeline}
* documentation to find out how an event flows in a 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.landmark
* @apiviz.composedOf io.netty.channel.ChannelFuture
*/

View File

@ -17,10 +17,6 @@ package io.netty.channel;
/**
* 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
*/
public class ChannelException extends RuntimeException {

View File

@ -46,10 +46,6 @@ import io.netty.util.ExternalResourceReleasable;
* For detailed transport-specific information on shutting down a factory,
* please refer to the Javadoc of {@link ChannelFactory}'s subtypes, such as
* {@link NioServerSocketChannelFactory}.
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
* @apiviz.has io.netty.channel.Channel oneway - - creates
*

View File

@ -163,10 +163,6 @@ import io.netty.handler.execution.ExecutionHandler;
* // Connection established successfully
* }
* </pre>
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
* @apiviz.owns io.netty.channel.ChannelFutureListener - - notifies
*/

View File

@ -24,10 +24,6 @@ import java.util.Set;
* Class which is used to consolidate multiple channel futures into one, by
* listening to the individual futures and producing an aggregated result
* (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 {

View File

@ -29,9 +29,6 @@ import java.util.EventListener;
* 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
* 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 {

View File

@ -35,9 +35,6 @@ package io.netty.channel;
* 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
* 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 {

View File

@ -202,10 +202,6 @@ import io.netty.channel.group.ChannelGroup;
* Please refer to the {@link ChannelEvent} and {@link ChannelPipeline} to find
* 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
* @apiviz.exclude ^org\.jboss\.netty\.handler\..*$
*/
@ -222,10 +218,7 @@ public interface ChannelHandler {
* <p>
* 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
*/
@Inherited
@Documented
@Target(ElementType.TYPE)

View File

@ -116,10 +116,6 @@ package io.netty.channel;
* {@link ChannelPipeline} to find out what a upstream event and a downstream
* 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.owns io.netty.channel.ChannelHandler
*/
public interface ChannelHandlerContext {

View File

@ -19,10 +19,6 @@ package io.netty.channel;
* A {@link RuntimeException} which is thrown when a
* {@link LifeCycleAwareChannelHandler} throws an {@link Exception}
* 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
*/
public class ChannelHandlerLifeCycleException extends RuntimeException {

View File

@ -28,14 +28,9 @@ import io.netty.util.internal.ConcurrentIdentityWeakKeyHashMap;
* Alternatively, you might want to use the
* {@link ChannelHandlerContext#setAttachment(Object) ChannelHandlerContext.attachment}
* 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()}
*
* @apiviz.stereotype utility
*
*/
@Deprecated
public class ChannelLocal<T> {

View File

@ -200,10 +200,6 @@ import io.netty.handler.ssl.SslHandler;
* 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
* <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.composedOf io.netty.channel.ChannelHandlerContext
* @apiviz.owns io.netty.channel.ChannelHandler

View File

@ -19,10 +19,6 @@ package io.netty.channel;
* A {@link ChannelException} which is thrown when a {@link ChannelPipeline}
* failed to process a {@link ChannelEvent} or when a {@link ChannelPipelineFactory}
* 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
*/
public class ChannelPipelineException extends ChannelException {

View File

@ -31,10 +31,6 @@ import io.netty.bootstrap.ConnectionlessBootstrap;
* Also, when a {@link ClientBootstrap} or {@link 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.has io.netty.channel.ChannelPipeline oneway - - creates
*/
public interface ChannelPipelineFactory {

View File

@ -22,10 +22,6 @@ package io.netty.channel;
* A {@link ChannelSink} is an internal component which is supposed to be
* implemented by a transport provider. Most users will not see this type
* 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
*/
public interface ChannelSink {

View File

@ -73,9 +73,6 @@ import java.net.SocketAddress;
* </table>
* <p>
* 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 {
/**

View File

@ -23,10 +23,6 @@ package io.netty.channel;
* respectively. Please 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.has io.netty.channel.ChannelState
*/
public interface ChannelStateEvent extends ChannelEvent {

View File

@ -83,10 +83,6 @@ import io.netty.handler.execution.ExecutionHandler;
* this behavior changes depending on what {@link Executor} was employed to
* dispatch the events. Please refer to {@link ExecutionHandler} for more
* 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\..*$
*/
public interface ChannelUpstreamHandler extends ChannelHandler {

View File

@ -45,10 +45,6 @@ import io.netty.util.internal.ConversionUtil;
* event generation methods provided by {@link Channels} rather than calling
* {@link ChannelHandlerContext#sendUpstream(ChannelEvent)} or
* {@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
*/
public class Channels {

View File

@ -20,9 +20,6 @@ package io.netty.channel;
* a child {@link Channel}. This event is for going upstream only. Please
* 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ChildChannelStateEvent extends ChannelEvent {

View File

@ -23,9 +23,6 @@ import io.netty.logging.InternalLoggerFactory;
/**
* A skeletal {@link ChannelFuture} implementation which represents a
* {@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 {

View File

@ -25,9 +25,6 @@ import io.netty.util.internal.ConversionUtil;
/**
* 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 {

View File

@ -31,9 +31,6 @@ import io.netty.util.internal.DeadLockProofWorker;
* use {@link Channels#future(Channel)} and {@link Channels#future(Channel, boolean)}
* to create a new {@link ChannelFuture} rather than 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 DefaultChannelFuture implements ChannelFuture {

View File

@ -29,9 +29,6 @@ import io.netty.logging.InternalLoggerFactory;
* The default {@link ChannelPipeline} implementation. It is recommended
* to use {@link Channels#pipeline()} to create a new {@link ChannelPipeline}
* 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 {

View File

@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
/**
* 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 {

View File

@ -21,9 +21,6 @@ import io.netty.util.internal.StackTraceSimplifier;
/**
* 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 {

View File

@ -24,9 +24,6 @@ import io.netty.channel.socket.ServerSocketChannelConfig;
/**
* 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 {

View File

@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
/**
* 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 {

View File

@ -17,9 +17,6 @@ package io.netty.channel;
/**
* 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 {

View File

@ -21,9 +21,6 @@ import io.netty.util.internal.StringUtil;
/**
* 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 {

View File

@ -21,9 +21,6 @@ package io.netty.channel;
* going upstream only. Please 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface ExceptionEvent extends ChannelEvent {

View File

@ -19,9 +19,6 @@ package io.netty.channel;
* The {@link CompleteChannelFuture} which is failed already. It is
* recommended to use {@link Channels#failedFuture(Channel, Throwable)}
* 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 {

View File

@ -53,9 +53,6 @@ import io.netty.util.ExternalResourceReleasable;
* 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
* 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 {

View File

@ -19,9 +19,6 @@ 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public class FixedReceiveBufferSizePredictor implements
ReceiveBufferSizePredictor {

View File

@ -19,9 +19,6 @@ package io.netty.channel;
/**
* The {@link ReceiveBufferSizePredictorFactory} that returns a
* {@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
ReceiveBufferSizePredictorFactory {

View File

@ -27,9 +27,6 @@ package io.netty.channel;
* 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
* 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 {
void beforeAdd(ChannelHandlerContext ctx) throws Exception;

View File

@ -24,9 +24,6 @@ import java.net.SocketAddress;
* downstream event respectively. Please 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface MessageEvent extends ChannelEvent {

View File

@ -29,9 +29,6 @@ import io.netty.buffer.ChannelBuffer;
* 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
* 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 {

View File

@ -17,10 +17,6 @@ package io.netty.channel;
/**
* 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
*/
public interface ReceiveBufferSizePredictorFactory {

View File

@ -21,9 +21,6 @@ import io.netty.channel.socket.ServerSocketChannel;
* A {@link Channel} that accepts an incoming connection attempt and creates
* its child {@link Channel}s by accepting them. {@link ServerSocketChannel} is
* 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 {
// This is a tag interface.

View File

@ -17,10 +17,6 @@ package io.netty.channel;
/**
* 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
*/
public interface ServerChannelFactory extends ChannelFactory {

View File

@ -49,9 +49,6 @@ import java.net.SocketAddress;
* <strong>super.handleDownstream(ctx, e);</strong>
* }
* }</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 {

View File

@ -70,9 +70,6 @@ import io.netty.logging.InternalLoggerFactory;
* <strong>super.handleDownstream(ctx, e);</strong>
* }
* }</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 {

View File

@ -50,9 +50,6 @@ import io.netty.logging.InternalLoggerFactory;
* <strong>super.handleUpstream(ctx, e);</strong>
* }
* }</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 {

View File

@ -30,9 +30,6 @@ import io.netty.util.internal.ConversionUtil;
* disabled dynamic insertion and removal of {@link ChannelHandler}s.
* An attempt to insert, remove, or replace a handler in this pipeline will
* 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 {

View File

@ -19,9 +19,6 @@ package io.netty.channel;
* The {@link CompleteChannelFuture} which is succeeded already. It is
* recommended to use {@link Channels#succeededFuture(Channel)} 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 SucceededChannelFuture extends CompleteChannelFuture {

View File

@ -19,9 +19,6 @@ import static io.netty.channel.Channels.*;
/**
* 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 {

View File

@ -23,9 +23,6 @@ import io.netty.util.internal.StringUtil;
/**
* 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 {

View File

@ -21,9 +21,6 @@ package io.netty.channel;
* only. Please 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://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*/
public interface WriteCompletionEvent extends ChannelEvent {
/**

View File

@ -87,10 +87,6 @@ import io.netty.util.CharsetUtil;
* }
* }
* </pre>
*
* @author <a href="http://netty.io/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
* @apiviz.has io.netty.channel.group.ChannelGroupFuture oneway - - returns
*/

View File

@ -107,10 +107,6 @@ import io.netty.handler.execution.ExecutionHandler;
* 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,
* {@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
*/
public interface ChannelGroupFuture extends Iterable<ChannelFuture> {

View File

@ -22,9 +22,6 @@ import java.util.EventListener;
* asynchronous {@link ChannelGroup} I/O operations is notified once this
* listener is added by calling {@link ChannelGroupFuture#addListener(ChannelGroupFutureListener)}
* 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 {

View File

@ -19,8 +19,6 @@ import java.util.Iterator;
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> {

View File

@ -34,10 +34,6 @@ import io.netty.util.internal.ConcurrentHashMap;
/**
* 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
*/
public class DefaultChannelGroup extends AbstractSet<Channel> implements ChannelGroup {

View File

@ -35,9 +35,6 @@ import io.netty.util.internal.DeadLockProofWorker;
/**
* 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 {

View File

@ -23,15 +23,11 @@ import java.net.SocketAddress;
* A {@link java.net.SocketAddress} implementation holding an
* {@link java.io.InputStream} and an {@link java.io.OutputStream} instance used
* as "remote" address to connect to with a {@link IOStreamChannel}.
*
* @author Daniel Bimschas
* @author Dennis Pfisterer
*/
public class IOStreamAddress extends SocketAddress {
/**
*
*/
*/
private static final long serialVersionUID = -4382415449059935960L;
private final InputStream inputStream;

View File

@ -22,9 +22,6 @@ import java.net.SocketAddress;
/**
* A channel to an {@link java.io.InputStream} and an
* {@link java.io.OutputStream}.
*
* @author Daniel Bimschas
* @author Dennis Pfisterer
*/
public class IOStreamChannel extends AbstractChannel {

View File

@ -28,9 +28,6 @@ import java.util.concurrent.ExecutorService;
/**
* A {@link io.netty.channel.ChannelFactory} for creating {@link IOStreamChannel} instances.
*
* @author Daniel Bimschas
* @author Dennis Pfisterer
*/
public class IOStreamChannelFactory implements ChannelFactory {

View File

@ -28,9 +28,6 @@ import static io.netty.channel.Channels.*;
/**
* A {@link io.netty.channel.ChannelSink} implementation which reads from
* an {@link java.io.InputStream} and writes to an {@link java.io.OutputStream}.
*
* @author Daniel Bimschas
* @author Dennis Pfisterer
*/
public class IOStreamChannelSink extends AbstractChannelSink {

View File

@ -36,9 +36,6 @@ import io.netty.util.internal.QueueFactory;
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 {

View File

@ -20,11 +20,6 @@ import io.netty.channel.ChannelSink;
/**
* 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
*/
public class DefaultLocalClientChannelFactory implements LocalClientChannelFactory {

View File

@ -27,9 +27,6 @@ import io.netty.channel.ChannelSink;
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
LocalServerChannel {

View File

@ -20,11 +20,6 @@ import io.netty.channel.ChannelSink;
/**
* 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
*/
public class DefaultLocalServerChannelFactory implements LocalServerChannelFactory {

View File

@ -27,11 +27,6 @@ import java.net.SocketAddress;
* An ephemeral address is an anonymous address which is assigned temporarily
* 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://netty.io/">The Netty Project</a>
* @author Andy Taylor (andy.taylor@jboss.org)
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
*
* @apiviz.landmark
*/
public final class LocalAddress extends SocketAddress implements Comparable<LocalAddress> {

View File

@ -19,10 +19,6 @@ import io.netty.channel.Channel;
/**
* 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 {
@Override

View File

@ -21,8 +21,6 @@ import io.netty.channel.Channel;
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 {

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