コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
        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;
        }
コード例 #4
0
ファイル: HtsGenerator.cs プロジェクト: HongSeokHwan/legacy
 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;
 }