public SimpleTcpSocketConnection(SimpleClientTcpSocket socket, TcpClient tcpClient, ISocketSerializer socketSerializer, int id, ISocketLog socketLog)
 {
     _socket           = socket;
     _tcpClient        = tcpClient;
     _socketSerializer = socketSerializer;
     Id   = id;
     _log = socketLog;
 }
 public SimpleTcpSocketConnection(SimpleClientTcpSocket socket, TcpClient tcpClient, ISocketSerializer socketSerializer, int id, ISocketLog socketLog)
 {
     _socket = socket;
     _tcpClient = tcpClient;
     _socketSerializer = socketSerializer;
     Id = id;
     _log = socketLog;
 }
Esempio n. 3
0
 public Mt4BridgeFeedSource(IPEndPoint ipEndPoint, ILog log) : base("Mt4BridgeFeedSource", 300, log)
 {
     var mt4BridgeQuoteSerializer = new Mt4BridgeQuoteSerializer(QuoteCallBack);
     SocketLog = new SocketLogInMemory();
     _simpleTcpSocket = new SimpleClientTcpSocket("Mt4ManagerFeed", ipEndPoint, 3000, mt4BridgeQuoteSerializer, SocketLog, 10, 3);
 }