Exemplo n.º 1
0
        void CreateClients()
        {
            m_domainClient      = m_settings.DomainManager.CreateDomainManagerClient();
            m_addressClient     = m_settings.AddressManager.CreateAddressManagerClient() as AddressManagerClient;
            m_certificateClient = m_settings.CertificateManager.CreateCertificateStoreClient();
            m_dnsRecordClient   = m_settings.DnsRecordManager.CreateDnsRecordManagerClient();
            m_anchorClient      = m_settings.AnchorManager.CreateAnchorStoreClient();
            m_bundleClient      = m_settings.BundleManager.CreateBundleStoreClient();

            if (m_settings.PropertyManager != null)
            {
                m_propertyClient = m_settings.PropertyManager.CreatePropertyManagerClient() as PropertyManagerClient;
            }
            if (m_settings.BlobManager != null)
            {
                m_blobClient = m_settings.BlobManager.CreateBlobManagerClient();
            }
            if (m_settings.MdnMonitorManager != null)
            {
                m_mdnMoniotrClient = m_settings.MdnMonitorManager.CreateMdnMonitorClient() as MdnMonitorClient;
            }
            if (m_settings.CertPolicyManager != null)
            {
                m_certPolicyClient = m_settings.CertPolicyManager.CreateCertPolicyStoreClient() as CertPolicyStoreClient;
            }
        }