Re: [Quickfix-developers] stop/start session programmatically
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2005-08-16 21:07:46
|
No, it does not reset sequence numbers.
--oren
----- Original Message -----=20
From: Alvin Wang=20
To: Caleb Epstein=20
Cc: Oren Miller ; qui...@li... ; =
qui...@li...=20
Sent: Tuesday, August 16, 2005 4:37 PM
Subject: Re: [Quickfix-developers] stop/start session programmatically
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)..=20
Caleb Epstein <cal...@gm...>=20
08/16/2005 04:53 PM=20
=20
To: Alvin Wang <AW...@ff...>=20
cc: qui...@li..., =
qui...@li..., Oren Miller =
<or...@qu...>=20
bcc: =20
Subject: Re: [Quickfix-developers] stop/start =
session programmatically=20
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?=20
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
--=20
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. =
********************************************************************** |