public PMSParser(PBXConfiguration config, ILogger log, IMessageConnectionFactory cf, IApplicationClient ac, IClock c) : base(config, log, cf, ac, c) { var lexer = new PMSByteStreamLexer(); lexer.EnquireRecieved += EnquireReceived; RegisterLexer(lexer); }
protected PBXParser(PBXConfiguration config, ILogger log, IMessageConnectionFactory cf, IApplicationClient ac, IClock c) { Log = log; CF = cf; AC = ac; C = c; Transport = GetConfiguredTransport(log, config); Transport.DataArrived += TransportDataArrived; }
public SMDRParser(PBXConfiguration config, ILogger log, IMessageConnectionFactory cf, IApplicationClient ac, IClock c) : base(config, log, cf, ac, c) { RegisterLexer(new CRLFByteSreamLineLexer()); }
public SMDRParserTestShim(FakeTCPConfiguration config, ILogger log, IMessageConnectionFactory cf, IClock c) : base(config.PMSConnection, log, cf, new FakeApplicationClient(config, log, "fake client id"), c) { StartRabbitMQ(); }
public PingResponder(ILogger log, IMessageConnectionFactory cf) { _log = log; _cf = cf; }