Package io.sisu.nng
Class TlsConfig
- java.lang.Object
-
- io.sisu.nng.TlsConfig
-
public class TlsConfig extends java.lang.Object
A configuration for TLS-enabled transport.Given nng_tls_config objects are meant to be shared and reused for multiple sockets, we'll need a design to deal with the fact nng does ref counting for these objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TlsConfig.AuthMode
static class
TlsConfig.SocketMode
-
Constructor Summary
Constructors Constructor Description TlsConfig(TlsConfig.SocketMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.sun.jna.Pointer
getPointer()
-
-
-
Constructor Detail
-
TlsConfig
public TlsConfig(TlsConfig.SocketMode mode) throws NngException
- Throws:
NngException
-
-