Re: [Quickfix-developers] stop/start session programmatically
Brought to you by:
orenmnero
|
From: Alvin W. <AW...@FF...> - 2005-08-16 20:59:39
|
session.logout() will send logout msg and reset seq number to 1, right?
But i only want to stop and restart later. I do not want to reset seq
number (and send logout msg)..
Caleb Epstein <cal...@gm...>
08/16/2005 04:53 PM
To: Alvin Wang <AW...@ff...>
cc: qui...@li...,
qui...@li..., Oren Miller
<or...@qu...>
bcc:
Subject: Re: [Quickfix-developers] stop/start session programmatically
On 8/16/05, Alvin Wang <AW...@ff...> wrote:
> Are there any APIs so that QF can stop/restart just a specific session
> programmatically between start time and end time?
Session::logout will effectively stop the session. If the session is
logged on, it will logout and disconnect cleanly. Then, if it is an
Initiator, it will stop connecting to the counterparty; and if it is
an Acceptor, it will refuse Logon attempts from the counterparty. You
can re-enable with Session::logon
--
Caleb Epstein
caleb dot epstein at gmail dot com
**********************************************************************
This e-mail message is intended solely for the use of the addressee.
The message may contain information that is privileged and confidential.
Disclosure to anyone other than the intended recipient is
prohibited. If you are not the intended recipient, please do not
disseminate, distribute or copy this communication, by e-mail or
otherwise. Instead, please notify us immediately by return e-mail
(including the original message with your reply) and then delete
and discard all copies of the message. We have taken precautions to
minimize the risk of transmitting software viruses but nevertheless
advise you to carry out your own virus checks on any attachment to
this message. We accept no liability for any loss or damage caused
by software viruses.
**********************************************************************
|