/**
* Instantiates a new controller.
*
* @param wrappedJavaProcess
* the wrapped java process
*/
public JVMController(WrappedProcess wrappedJavaProcess)
{
super(wrappedJavaProcess);
_bossGroup = new OioEventLoopGroup();
_workerGroup = new OioEventLoopGroup();
ControllerPipelineFactory pipelineFactory = new ControllerPipelineFactory(
this);
setDebug(((WrappedJavaProcess)wrappedJavaProcess).getDebug());
pipelineFactory.setDebug(_debug > 2);
_acceptor = new ServerBootstrap().group(_bossGroup, _workerGroup)
.channel(OioServerSocketChannel.class)
.childOption(ChannelOption.TCP_NODELAY, true)
// .option(ChannelOption.SO_BACKLOG, 128)
.childHandler(pipelineFactory);
}
JVMController.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:yajsw
作者:
评论列表
文章目录