public OrderServerPOrder(String accountName, String password, PBHTS hts) { InitOrderServer(); _orderServer.ReceiveMessageCode += new _IOrderServerEvents_ReceiveMessageCodeEventHandler(order_ReceiveMessageCode); _orderServer.ReceiveResult += new _IOrderServerEvents_ReceiveResultEventHandler(order_ReceiveResult); _accountName = accountName; _password = password; _hts = hts; }
public OrderServerPOrder_Request(OrderServerPOrder oso, POrder order, String accountName, String password, PBHTS hts) { _oso = oso; _order = order; _hts = hts; _accountName = accountName; _password = password; _bDone = false; _bGotReceiveResult = true; _bGotReceiveMessageCode = true; }
public OrderServerPOrder_Cancel(OrderServerPOrder oso, POrder order, String accountName, String password, PBHTS hts) { _oso = oso; _order = order; _hts = hts; _accountName = accountName; _password = password; _bDone = false; _bGotReceiveMessageCode = true; _sendCount = 0; }
public static IHTS Generate(String htsType, Account account) { IHTS hts = null; switch (htsType) { case "PB": hts = new PBHTS(account); break; case "Sim": hts = new SimHTS(account); break; case "KB": hts = GetKBHts(account); break; default: { logger.Error("{0} 알수 없는 IHTS type", hts); Util.KillWithNotice("Unknown IHTS type"); break; } } return hts; }