예제 #1
0
 public void InitReqProcAndConnection()
 {
     m_reqProc = IGRequestProcessing.GetRequest(m_sGuid);
     if (m_reqProc != null)
     {
         if (m_serverMgr.IsLocalServer())
             m_serverMgr.GetConnection(GetParameterValue(IGREQUEST_USERLOGIN), out m_connection, true);
     }
 }
예제 #2
0
 public static bool Remove(IGRequestProcessing reqProc)
 {
     if (reqProc != null)
     {
         reqProc.m_timer.Stop();
         s_lProcessingRequests.Remove(reqProc);
         return true;
     }
     return false;
 }
예제 #3
0
 private static void SetRequestFrameId(IGRequestProcessing reqProc, string sText)
 {
     reqProc.m_sFrameId = sText;
 }
예제 #4
0
 protected IGAnswer(XmlDocument xmlDocAnswer, string sAnswerString)
     : base(xmlDocAnswer, sAnswerString)
 {
     m_xmlNodeAnswer = m_xmlDoc.SelectSingleNode(IGANSWER_NODENAME);
     XmlNode xmlId = m_xmlNodeAnswer.Attributes.GetNamedItem(IGANSWER_ANSWERID);
     m_nId = Convert.ToInt32(xmlId.Value);
     m_reqProc = IGRequestProcessing.GetRequest(GetReqGuid());
     if (m_serverMgr.IsLocalServer())
     {
         SetParameter(IGANSWER_SERVERIP, m_serverMgr.ServerIP.ToString());
         SetParameter(IGANSWER_SERVERPORT, ((IGServerManagerLocal)m_serverMgr).ServerPort.ToString());
     }
 }