internal MonoConnectionProviderFactoryImpl ()
		{
			dotNetStreamProvider = new DotNetSslStreamProvider ();
			dotNetHttpProvider = new DefaultHttpProvider (dotNetStreamProvider);
			dotNetConnectionProvider = new DotNetConnectionProvider (this, ConnectionProviderType.DotNet, dotNetStreamProvider, dotNetHttpProvider);
			Install (dotNetConnectionProvider);

			newTlsProvider = DependencyInjector.Get<NewTlsProvider> ();
			newTlsConnectionProvider = new MonoConnectionProviderImpl (this, ConnectionProviderType.NewTLS, newTlsProvider, false);
			Install (newTlsConnectionProvider);

			legacyTlsProvider = MSI.MonoTlsProviderFactory.GetDefaultProvider ();
			legacyConnectionProvider = new MonoConnectionProviderImpl (this, ConnectionProviderType.OldTLS, legacyTlsProvider, false);
			Install (legacyConnectionProvider);

			monoWithNewTlsConnectionProvider = new MonoConnectionProviderImpl (this, ConnectionProviderType.MonoWithNewTLS, newTlsProvider, true);
			Install (monoWithNewTlsConnectionProvider);

			monoWithOldTlsConnectionProvider = new MonoConnectionProviderImpl (this, ConnectionProviderType.MonoWithOldTLS, legacyTlsProvider, true);
			Install (monoWithOldTlsConnectionProvider);

			openSslConnectionProvider = new OpenSslConnectionProvider (this);
			Install (openSslConnectionProvider);

			manualConnectionProvider = new ManualConnectionProvider (this, ConnectionProviderFlags.None);
			Install (manualConnectionProvider);
		}
Пример #2
0
		public MonoConnection (MonoConnectionProviderImpl provider, ConnectionParameters parameters)
			: base (provider, parameters)
		{
			this.provider = provider;
		}
Пример #3
0
		public MonoServer (MonoConnectionProviderImpl provider, ServerParameters parameters)
			: base (provider, parameters)
		{
		}
Пример #4
0
		internal MonoHttpProvider (MonoConnectionProviderImpl connectionProvider)
		{
			this.connectionProvider = connectionProvider;
		}