Example #1
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="szUrl"></param>
 /// <param name="bTask"></param>
 public Command(String szUrl, bool bTask)
 {
     m_strUrl = szUrl;
     m_hParse = new Parse(szUrl);
     m_hEncodeRequest = new EncodeRequest(Version.GEOSOFT_XML_1_0);
     m_oCommunication = new Communication(bTask, false);
 }
Example #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="szUrl"></param>
 /// <param name="bTask"></param>
 /// <param name="eVersion"></param>
 /// <param name="bSecure"></param>
 /// <param name="strToken"></param>
 /// <param name="iTimeout"></param>
 public Command(String szUrl, bool bTask, Version eVersion, bool bSecure, string strToken, int iTimeout)
 {
     m_strUrl = szUrl;
     m_hParse = new Parse(szUrl);
     m_hEncodeRequest = new EncodeRequest(eVersion, strToken);
     m_oCommunication = new Communication(bTask, bSecure, iTimeout);
 }
Example #3
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="iTimeout"></param>
 public Command(int iTimeout)
 {
     m_hParse = new Parse();
     m_hEncodeRequest = new EncodeRequest(Version.GEOSOFT_XML_1_0);
     m_oCommunication = new Communication(false, false, iTimeout);
 }
Example #4
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="szUrl"></param>
 /// <param name="bTask"></param>
 /// <param name="eVersion"></param>
 public Command(String szUrl, bool bTask, Version eVersion)
 {
     m_strUrl = szUrl;
     m_hParse = new Parse(szUrl);
     m_hEncodeRequest = new EncodeRequest(eVersion);
     m_oCommunication = new Communication(bTask, false);
 }