[英]Netty Bootstrap options documentation
In Netty there is a class called Bootstrap that can has a method public <T> B option(ChannelOption<T> option, T value)
. 在Netty中有一个名为Bootstrap的类,它可以有一个方法
public <T> B option(ChannelOption<T> option, T value)
。 Bootstrap class is used to configure channels options with provided parameters. Bootstrap类用于配置提供参数的通道选项。 The problem is that I am unable to find any documentation of what these parameters are and how do they affect communications between channels.
问题是我无法找到这些参数的文档,以及它们如何影响通道之间的通信。
The channel options are a super-set of the standard Java socket options and some Netty specific ones. 通道选项是标准Java套接字选项和一些Netty特定选项的超集。
Full list of valid options documented here . 此处记录的有效选项的完整列表 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.