public SslTcpChannelListener(MqttConfiguration configuration, SslTcpConfig sslConfig, ServerSslConfig sslServerConfig) { _listener = new TcpListener(IPAddress.Any, configuration.Port); _configuration = configuration; _sslConfig = sslConfig; _sslServerConfig = sslServerConfig; }
public static IMqttChannelFactory MqttChannelFactory(string hostName, SslTcpConfig sslConfig, MqttConfiguration mqttConfig) { return(new GenericChannelFactory(new SslTcpChanneClientFactory(sslConfig, mqttConfig, hostName).CreateAsync, mqttConfig)); }
public SslTcpChanneClientFactory(SslTcpConfig config, MqttConfiguration mqqtConfig, string hostName) { _config = config; _mqqtConfig = mqqtConfig; _hostName = hostName; }
public SslTcpBinding(SslTcpConfig sslConfig) { _sslConfig = sslConfig; }
public ServerTcpSslBinding(SslTcpConfig sslConfig, ServerSslConfig config) : base(sslConfig) { _sslTcpConfig = sslConfig; _config = config; }