简体   繁体   English

QuickFIX/n:检测错误

[英]QuickFIX/n: Detect errors

I've implemented an acceptor service using QuickFIX/n, and it seems like whenever any type of error, like a malformed incoming message or bad sequence numbers, occurs, QuickFIX/n hides the message and deals with the error internally.我已经使用 QuickFIX/n 实现了一个接受器服务,而且似乎每当出现任何类型的错误时,例如格式错误的传入消息或错误的序列号,QuickFIX/n 都会隐藏消息并在内部处理错误。

Is there a way of programmatically detecting these errors without having to look in the logs?有没有一种无需查看日志即可以编程方式检测这些错误的方法?

I received the following response through the QuickFIX/n mailing list:我通过 QuickFIX/n 邮件列表收到以下回复:

No. Those are transport-layer errors, and they are not exposed to the app layer because it is not appropriate for the app layer to attempt recovery.不。这些是传输层错误,它们不会暴露给应用程序层,因为应用程序层不适合尝试恢复。

I think transport errors are best handled by an external observer process that can notify the maintainer.我认为传输错误最好由可以通知维护者的外部观察者进程处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM