public LeechServer(LeechPipeServerSocket socket) { _tickPipeServer = null; _core = new LpCore(socket, true); // сервер _pipeFactory = new LeechServerPipeFactory(_core); _sysPipe = new SystemLp(_pipeFactory, _core); _core.Initialize(_sysPipe, "Pulxer", false); }
public LpClientApp(DataProtect dataProtect, IInstrumTable instrumTable, IAccountTable accountTable, IStopOrderTable stopOrderTable, IOrderTable orderTable, ITradeTable tradeTable, ICashTable positionTable, IHoldingTable holdingTable, ITickDispatcher tickDisp, ILogger logger) { _dataProtect = dataProtect; _socket = new LpClientSocket(); _core = new LpCore(_socket, false); // клиент _pipeFactory = new LpAppFactory(_core, instrumTable, accountTable, stopOrderTable, orderTable, tradeTable, positionTable, holdingTable, tickDisp); _sysPipe = new SystemLp(_pipeFactory, _core); _logger = logger; }
public SystemLp(ILpFactory pipeFactory, LpCore core) { _pipeFactory = pipeFactory; _core = core; }