public IncomingMessage Visit(Mantle.Fix44.Heartbeat msg) { if (!msg.TestReqID.HasValue) { return(null); } var res = new IncomingMessage(); res.SendingTime = msg.StandardHeader.SendingTime.Value; res.TestRespID = msg.TestReqID.Value; return(res); }
public Mantle.Fix44.Heartbeat Heartbeat(string testReqID) { var res = new Mantle.Fix44.Heartbeat() { StandardHeader = StandardHeader() }; res.TestReqID.Value = testReqID; if (_cfg.Username != null) { res.Username.Value = _cfg.Username; } if (_cfg.Password != null) { res.Password.Value = _cfg.Password; } return(res); }
public Mantle.Fix44.Heartbeat Heartbeat(string testReqID) { var res = new Mantle.Fix44.Heartbeat() { StandardHeader = StandardHeader() }; res.TestReqID.Value = testReqID; if (_cfg.Username != null) res.Username.Value = _cfg.Username; res.Password.Value = _cfg.Password; return res; }