Add more constructor to NioSocketChannel
This commit is contained in:
parent
a2d57144b4
commit
21a3d3fe02
@ -47,7 +47,11 @@ public class NioSocketChannel extends AbstractNioChannel implements io.netty.cha
|
||||
}
|
||||
|
||||
public NioSocketChannel() {
|
||||
this(null, null, newSocket());
|
||||
this(newSocket());
|
||||
}
|
||||
|
||||
public NioSocketChannel(SocketChannel socket) {
|
||||
this(null, null, socket);
|
||||
}
|
||||
|
||||
public NioSocketChannel(Channel parent, Integer id, SocketChannel socket) {
|
||||
|
Loading…
Reference in New Issue
Block a user