//FromApp implemented as part of Application interface. This is the callback for all Application level messages from the counter party. func (e TradeClient) FromApp(msg quickfix.Message, sessionID quickfix.SessionID) (reject quickfix.MessageRejectError) { fmt.Printf("FromApp: %s\n", msg.String()) return }
//Use Message Cracker on Incoming Application Messages func (e *Executor) FromApp(msg quickfix.Message, sessionID quickfix.SessionID) (reject quickfix.MessageRejectError) { log.Infof("FIX->SIM: FIX44NewOrderSingle \n%v", msg.String()) return e.Route(msg, sessionID) }
func (e *AcceptorApp) FromApp(msg quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError { log.Print("Got ", msg.String()) return nil }
func (app FIXClient) FromApp(msg quickfix.Message, sessionID quickfix.SessionID) (reject quickfix.MessageRejectError) { log.Infof("FIX->MC EXEC: \n%v", msg.String()) return app.Route(msg, sessionID) }