예제 #1
0
        public void A_EI_0020_TH_VTN_1()
        {
            VEN2b ven = new VEN2b(new HttpWebRequestWrapper(false, System.Net.SecurityProtocolType.Tls12), TestProperties.vtnURL, TestProperties.venName, TestProperties.venID, TestProperties.venPassword);

            RequestEvent requestEvent = ven.requestEvent();

            Assert.IsTrue(requestEvent.response.eiResponse.responseCode == "200");

            // on events returned so don't send createdEvent
            Assert.IsTrue(requestEvent.response.oadrEvent == null);
        }
        /**********************************************************************************/

        private bool queryEvents()
        {
            RequestEvent requestEvent;

            lock (m_ven) { requestEvent = m_ven.requestEvent(); }

            m_callbacks.processRequestEvent(requestEvent);

            processDistributeEvent(requestEvent.response);

            return(true);
        }