Reverted r825 which doesn't make much sense
This commit is contained in:
parent
84aa72a70f
commit
2030411759
@ -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");
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user