Add proper toString() implementation for internal ChannelFactory impls
This commit is contained in:
parent
918666481e
commit
c661c344ed
@ -311,6 +311,11 @@ public class ServerBootstrap extends AbstractBootstrap<ServerBootstrap> {
|
||||
public Channel newChannel() {
|
||||
return new AioServerSocketChannel((AioEventLoopGroup) group(), (AioEventLoopGroup) childGroup);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return AioServerSocketChannel.class.getSimpleName() + ".class";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user