示例#1
0
 /// <summary>
 /// This initiator establishes a base transport using the transport settings
 /// Then it iterates through the security provider list in the settings to upgrade
 /// the transport (e.g. tcp -> tls -> sasl).
 /// </summary>
 /// <param name="settings"></param>
 /// <param name="transportSettings"></param>
 public AmqpTransportInitiator(AmqpSettings settings, TransportSettings transportSettings)
 {
     settings.ValidateInitiatorSettings();
     this.settings          = settings;
     this.transportSettings = transportSettings;
 }
 /// <summary>
 /// This initiator establishes a base transport using the transport settings
 /// Then it iterates through the security provider list in the settings to upgrade
 /// the transport (e.g. tcp -> tls -> sasl).
 /// </summary>
 /// <param name="settings"></param>
 /// <param name="transportSettings"></param>
 public AmqpTransportInitiator(AmqpSettings settings, TransportSettings transportSettings)
 {
     settings.ValidateInitiatorSettings();
     this.settings = settings;
     this.transportSettings = transportSettings;
 }