io.netty.handler.ssl.OpenSsl.ensureAvailability()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(197)

本文整理了Java中io.netty.handler.ssl.OpenSsl.ensureAvailability()方法的一些代码示例,展示了OpenSsl.ensureAvailability()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OpenSsl.ensureAvailability()方法的具体详情如下:
包路径:io.netty.handler.ssl.OpenSsl
类名称:OpenSsl
方法名:ensureAvailability

OpenSsl.ensureAvailability介绍

[英]Ensure that netty-tcnative and its OpenSSL support are available.
[中]确保netty-tcnative及其OpenSSL支持可用。

代码示例

代码示例来源:origin: redisson/redisson

OpenSsl.ensureAvailability();

代码示例来源:origin: wildfly/wildfly

OpenSsl.ensureAvailability();

代码示例来源:origin: andsel/moquette

@BeforeClass
public static void beforeTests() {
  LOG.info("try to initialize OpenSSL native library");
  OpenSsl.ensureAvailability();
  LOG.info("OpenSSL initialized");
}

代码示例来源:origin: redisson/redisson

super(startTls);
OpenSsl.ensureAvailability();

代码示例来源:origin: wildfly/wildfly

int peerPort, boolean jdkCompatibilityMode, boolean leakDetection) {
super(peerHost, peerPort);
OpenSsl.ensureAvailability();
this.alloc = checkNotNull(alloc, "alloc");
apn = (OpenSslApplicationProtocolNegotiator) context.applicationProtocolNegotiator();

代码示例来源:origin: redisson/redisson

int peerPort, boolean jdkCompatibilityMode, boolean leakDetection) {
super(peerHost, peerPort);
OpenSsl.ensureAvailability();
this.alloc = checkNotNull(alloc, "alloc");
apn = (OpenSslApplicationProtocolNegotiator) context.applicationProtocolNegotiator();

代码示例来源:origin: wildfly/wildfly

super(startTls);
OpenSsl.ensureAvailability();

代码示例来源:origin: io.netty/netty-handler

OpenSsl.ensureAvailability();

代码示例来源:origin: io.netty/netty-handler

super(startTls);
OpenSsl.ensureAvailability();

代码示例来源:origin: io.netty/netty-handler

int peerPort, boolean jdkCompatibilityMode, boolean leakDetection) {
super(peerHost, peerPort);
OpenSsl.ensureAvailability();
this.alloc = checkNotNull(alloc, "alloc");
apn = (OpenSslApplicationProtocolNegotiator) context.applicationProtocolNegotiator();

代码示例来源:origin: org.jboss.eap/wildfly-client-all

super(startTls);
OpenSsl.ensureAvailability();

代码示例来源:origin: apache/activemq-artemis

super(startTls);
OpenSsl.ensureAvailability();

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

super(startTls);
OpenSsl.ensureAvailability();

代码示例来源:origin: apache/activemq-artemis

int peerPort, boolean jdkCompatibilityMode, boolean leakDetection) {
super(peerHost, peerPort);
OpenSsl.ensureAvailability();
this.alloc = checkNotNull(alloc, "alloc");
apn = (OpenSslApplicationProtocolNegotiator) context.applicationProtocolNegotiator();

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

int peerPort, boolean jdkCompatibilityMode, boolean leakDetection) {
super(peerHost, peerPort);
OpenSsl.ensureAvailability();
this.alloc = checkNotNull(alloc, "alloc");
apn = (OpenSslApplicationProtocolNegotiator) context.applicationProtocolNegotiator();

代码示例来源:origin: org.jboss.eap/wildfly-client-all

int peerPort, boolean jdkCompatibilityMode, boolean leakDetection) {
super(peerHost, peerPort);
OpenSsl.ensureAvailability();
this.alloc = checkNotNull(alloc, "alloc");
apn = (OpenSslApplicationProtocolNegotiator) context.applicationProtocolNegotiator();

相关文章