Make classes public
This commit is contained in:
parent
fd7e165fb6
commit
0b0edea6bc
@ -31,7 +31,7 @@ import java.nio.channels.DatagramChannel;
|
|||||||
/**
|
/**
|
||||||
* Provides an NIO based {@link io.netty.channel.socket.DatagramChannel}.
|
* Provides an NIO based {@link io.netty.channel.socket.DatagramChannel}.
|
||||||
*/
|
*/
|
||||||
final class NioDatagramChannel extends AbstractNioChannel<DatagramChannel>
|
public final class NioDatagramChannel extends AbstractNioChannel<DatagramChannel>
|
||||||
implements io.netty.channel.socket.DatagramChannel {
|
implements io.netty.channel.socket.DatagramChannel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -53,6 +53,7 @@ public class NioDatagramWorker extends AbstractNioWorker {
|
|||||||
NioDatagramWorker(final Executor executor, boolean allowShutdownOnIdle) {
|
NioDatagramWorker(final Executor executor, boolean allowShutdownOnIdle) {
|
||||||
super(executor, allowShutdownOnIdle);
|
super(executor, allowShutdownOnIdle);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean read(final SelectionKey key) {
|
protected boolean read(final SelectionKey key) {
|
||||||
final NioDatagramChannel channel = (NioDatagramChannel) key.attachment();
|
final NioDatagramChannel channel = (NioDatagramChannel) key.attachment();
|
||||||
|
@ -23,7 +23,7 @@ import io.netty.channel.ChannelSink;
|
|||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
||||||
import java.nio.channels.SocketChannel;
|
import java.nio.channels.SocketChannel;
|
||||||
|
|
||||||
class NioSocketChannel extends AbstractNioChannel<SocketChannel>
|
public class NioSocketChannel extends AbstractNioChannel<SocketChannel>
|
||||||
implements io.netty.channel.socket.SocketChannel {
|
implements io.netty.channel.socket.SocketChannel {
|
||||||
|
|
||||||
private static final int ST_OPEN = 0;
|
private static final int ST_OPEN = 0;
|
||||||
|
@ -39,11 +39,11 @@ public class NioWorker extends AbstractNioWorker {
|
|||||||
|
|
||||||
private final SocketReceiveBufferPool recvBufferPool = new SocketReceiveBufferPool();
|
private final SocketReceiveBufferPool recvBufferPool = new SocketReceiveBufferPool();
|
||||||
|
|
||||||
NioWorker(Executor executor) {
|
public NioWorker(Executor executor) {
|
||||||
super(executor);
|
super(executor);
|
||||||
}
|
}
|
||||||
|
|
||||||
NioWorker(Executor executor, boolean allowShutdownOnIdle) {
|
public NioWorker(Executor executor, boolean allowShutdownOnIdle) {
|
||||||
super(executor, allowShutdownOnIdle);
|
super(executor, allowShutdownOnIdle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user