From 2030411759ae3b400efda53e9d3c222d9542262c Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 11 Feb 2009 09:47:53 +0000 Subject: [PATCH] Reverted r825 which doesn't make much sense --- .../jboss/netty/channel/DefaultChildChannelStateEvent.java | 4 ++-- .../java/org/jboss/netty/channel/DefaultExceptionEvent.java | 4 ++-- .../org/jboss/netty/channel/DefaultWriteCompletionEvent.java | 4 ++-- .../org/jboss/netty/channel/DownstreamChannelStateEvent.java | 4 ++-- .../java/org/jboss/netty/channel/DownstreamMessageEvent.java | 4 ++-- .../org/jboss/netty/channel/UpstreamChannelStateEvent.java | 4 ++-- .../java/org/jboss/netty/channel/UpstreamMessageEvent.java | 4 ++-- .../org/jboss/netty/handler/timeout/DefaultIdlenessEvent.java | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/jboss/netty/channel/DefaultChildChannelStateEvent.java b/src/main/java/org/jboss/netty/channel/DefaultChildChannelStateEvent.java index da71b307e5..77305874d4 100644 --- a/src/main/java/org/jboss/netty/channel/DefaultChildChannelStateEvent.java +++ b/src/main/java/org/jboss/netty/channel/DefaultChildChannelStateEvent.java @@ -33,7 +33,7 @@ import static org.jboss.netty.channel.Channels.*; * @version $Rev$, $Date$ * */ -final class DefaultChildChannelStateEvent implements ChildChannelStateEvent { +public class DefaultChildChannelStateEvent implements ChildChannelStateEvent { private final Channel parentChannel; private final Channel childChannel; @@ -41,7 +41,7 @@ final class DefaultChildChannelStateEvent implements ChildChannelStateEvent { /** * Creates a new instance. */ - DefaultChildChannelStateEvent(Channel parentChannel, Channel childChannel) { + public DefaultChildChannelStateEvent(Channel parentChannel, Channel childChannel) { if (parentChannel == null) { throw new NullPointerException("parentChannel"); } diff --git a/src/main/java/org/jboss/netty/channel/DefaultExceptionEvent.java b/src/main/java/org/jboss/netty/channel/DefaultExceptionEvent.java index 14b47d19be..2695a77949 100644 --- a/src/main/java/org/jboss/netty/channel/DefaultExceptionEvent.java +++ b/src/main/java/org/jboss/netty/channel/DefaultExceptionEvent.java @@ -35,7 +35,7 @@ import org.jboss.netty.util.StackTraceSimplifier; * @version $Rev$, $Date$ * */ -final class DefaultExceptionEvent implements ExceptionEvent { +public class DefaultExceptionEvent implements ExceptionEvent { private final Channel channel; private final Throwable cause; @@ -43,7 +43,7 @@ final class DefaultExceptionEvent implements ExceptionEvent { /** * Creates a new instance. */ - DefaultExceptionEvent(Channel channel, Throwable cause) { + public DefaultExceptionEvent(Channel channel, Throwable cause) { if (channel == null) { throw new NullPointerException("channel"); } diff --git a/src/main/java/org/jboss/netty/channel/DefaultWriteCompletionEvent.java b/src/main/java/org/jboss/netty/channel/DefaultWriteCompletionEvent.java index e4920d52d4..ab23c104db 100644 --- a/src/main/java/org/jboss/netty/channel/DefaultWriteCompletionEvent.java +++ b/src/main/java/org/jboss/netty/channel/DefaultWriteCompletionEvent.java @@ -32,7 +32,7 @@ import static org.jboss.netty.channel.Channels.*; * * @version $Rev$, $Date$ */ -final class DefaultWriteCompletionEvent implements WriteCompletionEvent { +public class DefaultWriteCompletionEvent implements WriteCompletionEvent { private final Channel channel; private final int writtenAmount; @@ -40,7 +40,7 @@ final class DefaultWriteCompletionEvent implements WriteCompletionEvent { /** * Creates a new instance. */ - DefaultWriteCompletionEvent(Channel channel, int writtenAmount) { + public DefaultWriteCompletionEvent(Channel channel, int writtenAmount) { if (channel == null) { throw new NullPointerException("channel"); } diff --git a/src/main/java/org/jboss/netty/channel/DownstreamChannelStateEvent.java b/src/main/java/org/jboss/netty/channel/DownstreamChannelStateEvent.java index e04b22e630..0f721bd85a 100644 --- a/src/main/java/org/jboss/netty/channel/DownstreamChannelStateEvent.java +++ b/src/main/java/org/jboss/netty/channel/DownstreamChannelStateEvent.java @@ -31,7 +31,7 @@ package org.jboss.netty.channel; * @version $Rev$, $Date$ * */ -final class DownstreamChannelStateEvent implements ChannelStateEvent { +public class DownstreamChannelStateEvent implements ChannelStateEvent { private final Channel channel; private final ChannelFuture future; @@ -41,7 +41,7 @@ final class DownstreamChannelStateEvent implements ChannelStateEvent { /** * Creates a new instance. */ - DownstreamChannelStateEvent( + public DownstreamChannelStateEvent( Channel channel, ChannelFuture future, ChannelState state, Object value) { diff --git a/src/main/java/org/jboss/netty/channel/DownstreamMessageEvent.java b/src/main/java/org/jboss/netty/channel/DownstreamMessageEvent.java index 7c3ae542ae..2977952928 100644 --- a/src/main/java/org/jboss/netty/channel/DownstreamMessageEvent.java +++ b/src/main/java/org/jboss/netty/channel/DownstreamMessageEvent.java @@ -39,7 +39,7 @@ import org.jboss.netty.util.StringUtil; * @version $Rev$, $Date$ * */ -final class DownstreamMessageEvent implements MessageEvent { +public class DownstreamMessageEvent implements MessageEvent { private final Channel channel; private final ChannelFuture future; @@ -49,7 +49,7 @@ final class DownstreamMessageEvent implements MessageEvent { /** * Creates a new instance. */ - DownstreamMessageEvent( + public DownstreamMessageEvent( Channel channel, ChannelFuture future, Object message, SocketAddress remoteAddress) { diff --git a/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java b/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java index cec1abdfaf..a9f9fe59e7 100644 --- a/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java +++ b/src/main/java/org/jboss/netty/channel/UpstreamChannelStateEvent.java @@ -33,7 +33,7 @@ import static org.jboss.netty.channel.Channels.*; * @version $Rev$, $Date$ * */ -final class UpstreamChannelStateEvent implements ChannelStateEvent { +public class UpstreamChannelStateEvent implements ChannelStateEvent { private final Channel channel; private final ChannelState state; @@ -42,7 +42,7 @@ final class UpstreamChannelStateEvent implements ChannelStateEvent { /** * Creates a new instance. */ - UpstreamChannelStateEvent( + public UpstreamChannelStateEvent( Channel channel, ChannelState state, Object value) { if (channel == null) { diff --git a/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java b/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java index f4afd8d61b..7776e0d3f2 100644 --- a/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java +++ b/src/main/java/org/jboss/netty/channel/UpstreamMessageEvent.java @@ -41,7 +41,7 @@ import org.jboss.netty.util.StringUtil; * @version $Rev$, $Date$ * */ -final class UpstreamMessageEvent implements MessageEvent { +public class UpstreamMessageEvent implements MessageEvent { private final Channel channel; private final Object message; @@ -50,7 +50,7 @@ final class UpstreamMessageEvent implements MessageEvent { /** * Creates a new instance. */ - UpstreamMessageEvent( + public UpstreamMessageEvent( Channel channel, Object message, SocketAddress remoteAddress) { if (channel == null) { diff --git a/src/main/java/org/jboss/netty/handler/timeout/DefaultIdlenessEvent.java b/src/main/java/org/jboss/netty/handler/timeout/DefaultIdlenessEvent.java index 77c6f242e0..90616a3fce 100644 --- a/src/main/java/org/jboss/netty/handler/timeout/DefaultIdlenessEvent.java +++ b/src/main/java/org/jboss/netty/handler/timeout/DefaultIdlenessEvent.java @@ -32,7 +32,7 @@ import org.jboss.netty.channel.ChannelFuture; * @author Trustin Lee (tlee@redhat.com) * @version $Rev$, $Date$ */ -final class DefaultIdlenessEvent implements IdlenessEvent { +public class DefaultIdlenessEvent implements IdlenessEvent { private final Channel channel; private final long lastReadTime; @@ -40,7 +40,7 @@ final class DefaultIdlenessEvent implements IdlenessEvent { private final long readerIdleTime; private final long writerIdleTime; - DefaultIdlenessEvent( + public DefaultIdlenessEvent( Channel channel, long lastReadTime, long lastWriteTime, long readerIdleTime, long writerIdleTime) {