本文整理了Java中org.glassfish.grizzly.Transport.getProcessorSelector()
方法的一些代码示例,展示了Transport.getProcessorSelector()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Transport.getProcessorSelector()
方法的具体详情如下:
包路径:org.glassfish.grizzly.Transport
类名称:Transport
方法名:getProcessorSelector
[英]Gets the default ProcessorSelector, which will be used to get Processor to process Connection I/O events, in case if this Transport's Processor is null and Connection doesn't have neither preferred Processornor ProcessorSelector. Transport's ProcessorSelector is the last place, where Transport will try to get Processor to process Connection I/O event. If ProcessorSelector is not set - IllegalStateException will be thrown.
[中]获取默认的ProcessorSelector,如果此传输的处理器为null,且连接既没有首选的Processorn,也没有首选的ProcessorSelector,则将使用该ProcessorSelector获取处理器到处理器的连接I/O事件。Transport的ProcessorSelector是最后一个位置,Transport将在这里尝试获取处理器到进程的连接I/O事件。如果未设置ProcessorSelector,则将抛出IllegalStateException。
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-http-server-core
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: javaee/grizzly
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-core
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
代码示例来源:origin: org.mule.glassfish.grizzly/grizzly-framework
public AbstractSocketConnectorHandler(Transport transport) {
this.transport = transport;
this.processor = transport.getProcessor();
this.processorSelector = transport.getProcessorSelector();
}
内容来源于网络,如有侵权,请联系作者删除!