Reverted r825 which doesn't make much sense

This commit is contained in:
Trustin Lee 2009-02-11 09:47:53 +00:00
parent 84aa72a70f
commit 2030411759
8 changed files with 16 additions and 16 deletions

View File

@ -33,7 +33,7 @@ import static org.jboss.netty.channel.Channels.*;
* @version $Rev$, $Date$ * @version $Rev$, $Date$
* *
*/ */
final class DefaultChildChannelStateEvent implements ChildChannelStateEvent { public class DefaultChildChannelStateEvent implements ChildChannelStateEvent {
private final Channel parentChannel; private final Channel parentChannel;
private final Channel childChannel; private final Channel childChannel;
@ -41,7 +41,7 @@ final class DefaultChildChannelStateEvent implements ChildChannelStateEvent {
/** /**
* Creates a new instance. * Creates a new instance.
*/ */
DefaultChildChannelStateEvent(Channel parentChannel, Channel childChannel) { public DefaultChildChannelStateEvent(Channel parentChannel, Channel childChannel) {
if (parentChannel == null) { if (parentChannel == null) {
throw new NullPointerException("parentChannel"); throw new NullPointerException("parentChannel");
} }

View File

@ -35,7 +35,7 @@ import org.jboss.netty.util.StackTraceSimplifier;
* @version $Rev$, $Date$ * @version $Rev$, $Date$
* *
*/ */
final class DefaultExceptionEvent implements ExceptionEvent { public class DefaultExceptionEvent implements ExceptionEvent {
private final Channel channel; private final Channel channel;
private final Throwable cause; private final Throwable cause;
@ -43,7 +43,7 @@ final class DefaultExceptionEvent implements ExceptionEvent {
/** /**
* Creates a new instance. * Creates a new instance.
*/ */
DefaultExceptionEvent(Channel channel, Throwable cause) { public DefaultExceptionEvent(Channel channel, Throwable cause) {
if (channel == null) { if (channel == null) {
throw new NullPointerException("channel"); throw new NullPointerException("channel");
} }

View File

@ -32,7 +32,7 @@ import static org.jboss.netty.channel.Channels.*;
* *
* @version $Rev$, $Date$ * @version $Rev$, $Date$
*/ */
final class DefaultWriteCompletionEvent implements WriteCompletionEvent { public class DefaultWriteCompletionEvent implements WriteCompletionEvent {
private final Channel channel; private final Channel channel;
private final int writtenAmount; private final int writtenAmount;
@ -40,7 +40,7 @@ final class DefaultWriteCompletionEvent implements WriteCompletionEvent {
/** /**
* Creates a new instance. * Creates a new instance.
*/ */
DefaultWriteCompletionEvent(Channel channel, int writtenAmount) { public DefaultWriteCompletionEvent(Channel channel, int writtenAmount) {
if (channel == null) { if (channel == null) {
throw new NullPointerException("channel"); throw new NullPointerException("channel");
} }

View File

@ -31,7 +31,7 @@ package org.jboss.netty.channel;
* @version $Rev$, $Date$ * @version $Rev$, $Date$
* *
*/ */
final class DownstreamChannelStateEvent implements ChannelStateEvent { public class DownstreamChannelStateEvent implements ChannelStateEvent {
private final Channel channel; private final Channel channel;
private final ChannelFuture future; private final ChannelFuture future;
@ -41,7 +41,7 @@ final class DownstreamChannelStateEvent implements ChannelStateEvent {
/** /**
* Creates a new instance. * Creates a new instance.
*/ */
DownstreamChannelStateEvent( public DownstreamChannelStateEvent(
Channel channel, ChannelFuture future, Channel channel, ChannelFuture future,
ChannelState state, Object value) { ChannelState state, Object value) {

View File

@ -39,7 +39,7 @@ import org.jboss.netty.util.StringUtil;
* @version $Rev$, $Date$ * @version $Rev$, $Date$
* *
*/ */
final class DownstreamMessageEvent implements MessageEvent { public class DownstreamMessageEvent implements MessageEvent {
private final Channel channel; private final Channel channel;
private final ChannelFuture future; private final ChannelFuture future;
@ -49,7 +49,7 @@ final class DownstreamMessageEvent implements MessageEvent {
/** /**
* Creates a new instance. * Creates a new instance.
*/ */
DownstreamMessageEvent( public DownstreamMessageEvent(
Channel channel, ChannelFuture future, Channel channel, ChannelFuture future,
Object message, SocketAddress remoteAddress) { Object message, SocketAddress remoteAddress) {

View File

@ -33,7 +33,7 @@ import static org.jboss.netty.channel.Channels.*;
* @version $Rev$, $Date$ * @version $Rev$, $Date$
* *
*/ */
final class UpstreamChannelStateEvent implements ChannelStateEvent { public class UpstreamChannelStateEvent implements ChannelStateEvent {
private final Channel channel; private final Channel channel;
private final ChannelState state; private final ChannelState state;
@ -42,7 +42,7 @@ final class UpstreamChannelStateEvent implements ChannelStateEvent {
/** /**
* Creates a new instance. * Creates a new instance.
*/ */
UpstreamChannelStateEvent( public UpstreamChannelStateEvent(
Channel channel, ChannelState state, Object value) { Channel channel, ChannelState state, Object value) {
if (channel == null) { if (channel == null) {

View File

@ -41,7 +41,7 @@ import org.jboss.netty.util.StringUtil;
* @version $Rev$, $Date$ * @version $Rev$, $Date$
* *
*/ */
final class UpstreamMessageEvent implements MessageEvent { public class UpstreamMessageEvent implements MessageEvent {
private final Channel channel; private final Channel channel;
private final Object message; private final Object message;
@ -50,7 +50,7 @@ final class UpstreamMessageEvent implements MessageEvent {
/** /**
* Creates a new instance. * Creates a new instance.
*/ */
UpstreamMessageEvent( public UpstreamMessageEvent(
Channel channel, Object message, SocketAddress remoteAddress) { Channel channel, Object message, SocketAddress remoteAddress) {
if (channel == null) { if (channel == null) {

View File

@ -32,7 +32,7 @@ import org.jboss.netty.channel.ChannelFuture;
* @author Trustin Lee (tlee@redhat.com) * @author Trustin Lee (tlee@redhat.com)
* @version $Rev$, $Date$ * @version $Rev$, $Date$
*/ */
final class DefaultIdlenessEvent implements IdlenessEvent { public class DefaultIdlenessEvent implements IdlenessEvent {
private final Channel channel; private final Channel channel;
private final long lastReadTime; private final long lastReadTime;
@ -40,7 +40,7 @@ final class DefaultIdlenessEvent implements IdlenessEvent {
private final long readerIdleTime; private final long readerIdleTime;
private final long writerIdleTime; private final long writerIdleTime;
DefaultIdlenessEvent( public DefaultIdlenessEvent(
Channel channel, Channel channel,
long lastReadTime, long lastWriteTime, long lastReadTime, long lastWriteTime,
long readerIdleTime, long writerIdleTime) { long readerIdleTime, long writerIdleTime) {