* Javadoc

* Made AbstractXnioChannelHandler package-private because it's not necessary to expose it to the user
This commit is contained in:
Trustin Lee 2009-06-18 09:32:33 +00:00
parent e79d45727d
commit a56d3306c1
6 changed files with 20 additions and 1 deletions

View File

@ -30,7 +30,7 @@ import org.jboss.xnio.channels.WritableMessageChannel;
* @version $Rev$, $Date$
*/
@SuppressWarnings("unchecked")
public abstract class AbstractXnioChannelHandler implements IoHandler<java.nio.channels.Channel> {
abstract class AbstractXnioChannelHandler implements IoHandler<java.nio.channels.Channel> {
protected AbstractXnioChannelHandler() {
super();

View File

@ -24,8 +24,12 @@ package org.jboss.netty.channel.xnio;
import org.jboss.xnio.IoHandler;
import org.jboss.xnio.IoHandlerFactory;
import org.jboss.xnio.channels.BoundServer;
/**
* An XNIO {@link IoHandlerFactory} implementation that must be specified when
* you create a {@link BoundServer} to integrate XNIO into Netty.
*
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com)
* @version $Rev$, $Date$

View File

@ -25,6 +25,9 @@ package org.jboss.netty.channel.xnio;
import org.jboss.netty.channel.Channel;
/**
* A {@link Channel} which uses <a href="http://www.jboss.org/xnio/>JBoss XNIO</a>
* as its I/O provider.
*
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com)
* @version $Rev$, $Date$

View File

@ -28,6 +28,9 @@ import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.xnio.Connector;
/**
* A client-side {@link ChannelFactory} which uses
* <a href="http://www.jboss.org/xnio/>JBoss XNIO</a> as its I/O provider.
*
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com)
* @version $Rev$, $Date$

View File

@ -25,6 +25,9 @@ package org.jboss.netty.channel.xnio;
import org.jboss.netty.channel.ServerChannel;
/**
* A {@link ServerChannel} which uses
* <a href="http://www.jboss.org/xnio/>JBoss XNIO</a> as its I/O provider.
*
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com)
* @version $Rev$, $Date$

View File

@ -27,6 +27,12 @@ import org.jboss.netty.channel.ServerChannelFactory;
import org.jboss.xnio.channels.BoundServer;
/**
* A {@link ServerChannelFactory} which uses
* <a href="http://www.jboss.org/xnio/>JBoss XNIO</a> as its I/O provider.
* <p>
* Please note that you must specify an {@link XnioAcceptedChannelHandlerFactory}
* when you create a {@link BoundServer} to integrate XNIO into Netty.
*
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com)
* @version $Rev$, $Date$