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); } }
public static bool Remove(IGRequestProcessing reqProc) { if (reqProc != null) { reqProc.m_timer.Stop(); s_lProcessingRequests.Remove(reqProc); return true; } return false; }
private static void SetRequestFrameId(IGRequestProcessing reqProc, string sText) { reqProc.m_sFrameId = sText; }
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()); } }