Package com.rabbitmq.client.impl.nio
Class NioContext
- java.lang.Object
-
- com.rabbitmq.client.impl.nio.NioContext
-
public class NioContext extends java.lang.Object
Context when creating resources for a NIO-based connection.- Since:
- 5.5.0
- See Also:
ByteBufferFactory
-
-
Constructor Summary
Constructors Constructor Description NioContext(NioParams nioParams, javax.net.ssl.SSLEngine sslEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NioParams
getNioParams()
NIO params.javax.net.ssl.SSLEngine
getSslEngine()
SSLEngine
for SSL/TLS connection.
-
-
-
Field Detail
-
nioParams
private final NioParams nioParams
-
sslEngine
private final javax.net.ssl.SSLEngine sslEngine
-
-
Constructor Detail
-
NioContext
NioContext(NioParams nioParams, javax.net.ssl.SSLEngine sslEngine)
-
-
Method Detail
-
getNioParams
public NioParams getNioParams()
NIO params.- Returns:
-
getSslEngine
public javax.net.ssl.SSLEngine getSslEngine()
SSLEngine
for SSL/TLS connection. Null for plain connection.- Returns:
-
-