本文介绍了如何注销修复会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用quickfixj.我有一条自定义消息,例如"EndTrade",当收到该消息时,我要结束修复会话吗?我怎样才能做到这一点?我没有找到任何办法. 它不允许我使用new Session().logout().
I'm using quickfixj. I have a custom message like "EndTrade", when I got that message, I want to end fix session? How can I do that? I have not find any way to do so. It is not allowing me to use new Session().logout().
推荐答案我得到了我的问题的答案.您可以通过以下方式注销修订会话.
I got answer of my question. you can logout your fix session in following way.
Session.lookupSession(sessionID).logout();更多推荐
如何注销修复会话?
发布评论