Esempio n. 1
0
 //Переопределяем родительских функций под особенности MetaTrade
 #region IBroker
 //Инициализация пайпов
 public void SetServer()
 {
     //this.Server_trade = new Yummy.IO.PipeMessageServer("arbtrade_trade_" + ((MTParam)BrokerParam[0]).PipeName, RequestHandler_trade, this);
     this.Server_query = new Yummy.IO.PipeMessageServer("arbtrade_query_" + ((MTParam)BrokerParam[0]).PipeName, RequestHandler_query, this);
     //this.Server_result = new Yummy.IO.PipeMessageServer("arbtrade_result_" + DataParam[0].ToString(), RequestHandler_result, this);
 }
Esempio n. 2
0
 public void SetServer()
 {
     this.Server_Put  = new Yummy.IO.PipeMessageServer("put_" + name, RequestHandlerPut, this);
     this.Server_Call = new Yummy.IO.PipeMessageServer("call_" + name, RequestHandlerCall, this);
 }