如何注销修复会话?

编程入门 行业动态 更新时间:2024-10-26 19:26:36
本文介绍了如何注销修复会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用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();

更多推荐

如何注销修复会话?

本文发布于:2023-10-11 22:21:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1483006.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!