void HandleDomainJoinServiceRequest(PlayReadyDomainJoinServiceRequest serviceRequest)
        {
            TestLogger.LogMessage(" ");
            TestLogger.LogMessage("Enter RequestChain.HandleDomainJoinServiceRequest()");

            _domainJoinAndReportResult = new DomainJoinAndReportResult(new ReportResultDelegate(HandleServiceRequest_Finished));
            _domainJoinAndReportResult.RequestConfigData = _requestConfigData;
            _domainJoinAndReportResult.DomainJoinReactively(serviceRequest);

            TestLogger.LogMessage("Leave RequestChain.HandleDomainJoinServiceRequest()");
        }
Exemple #2
0
        public void Test_DomainJoin(string strAccountId,
                                    string strServiceId,
                                    string djURL,
                                    string useManualEnabling)
        {
            TestLogger.LogMessage("Enter Test_DomainJoin()");

            ServiceRequestConfigData requestConfigData = new ServiceRequestConfigData();

            requestConfigData.DomainUri       = ActionParamConvertToUri(djURL);
            requestConfigData.DomainServiceId = ActionParamConvertToGuid(strServiceId);
            requestConfigData.DomainAccountId = ActionParamConvertToGuid(strAccountId);
            requestConfigData.ManualEnabling  = ActionParamConvertToBool(useManualEnabling);

            _domainJoinAndReportResult = new DomainJoinAndReportResult(new ReportResultDelegate(TestActionFinished));
            _domainJoinAndReportResult.RequestConfigData = requestConfigData;
            _domainJoinAndReportResult.DomainJoinProactively();

            TestLogger.LogMessage("Leave Test_DomainJoin()");
        }