[Quickfix-users] RE: [Quickfix-developers] Sessions are not established when it re aches the startT
Brought to you by:
orenmnero
|
From: Requenes, M. <Max...@sa...> - 2004-11-08 14:26:42
|
Do you happen to be using ThreadedSocketInitiator?
I ran into a similar problem. I fixed it by modifying
ThreadedSocketInitiator::onStart()
change this:
connect();
while ( !m_stop )
process_sleep(1);
to this:
while ( !m_stop ) {
connect();
process_sleep(1);
}
I submitted this fix to the mailing list before, but got no response.
http://sourceforge.net/mailarchive/forum.php?thread_id=4325707
<http://sourceforge.net/mailarchive/forum.php?thread_id=4325707&forum_id=103
> &forum_id=103
Let me know if this helps.
-----Original Message-----
From: Dinesh Belaguli [mailto:Din...@in...]
Sent: Monday, November 08, 2004 4:05 AM
To: qui...@li...;
qui...@li...
Cc: Dinesh Belaguli
Subject: [Quickfix-developers] Sessions are not established when it reaches
the startTime.
Importance: High
hi,
I have two programmes acting one as client and other as server.
in the quickfixConfig.cfg (configuration file) i have configured the start
and EndTime as follows.
StartTime=08:45:00
EndTime=08:10:00
the above timings are in GMT.
for convenience i changed my system time to GMT.
I started the server programme before running the client programme.
Two cases.
1) when i start my client programme before the start Time say 08:40:00
connection established successfully but the sessions are not created
that is fine.
but when the time reaches 8:45 it didn't (create) establish the
sessions (ideally it should establish the sessions know.)
2) when i start the client programme some where after the startTime
say 8:48 then it established sessions.
i want to know y the sessions are not created in the first case as i
have explained..
can any one through some light on this..
BELOW is My Configuration File i.e. at client side.
[DEFAULT]
ConnectionType=initiator
HeartBtInt=20
FileStorePath=store
FileLogPath=logs
StartTime=08:45:00
EndTime=08:10:00
ResetOnDisconnect=N
ResetOnLogout=N
ProviderPassword=
SenderSubID=
OnLogonResetMsgSeqNo=false
[SESSION]
BeginString=FIX.4.2
SenderCompID=ITLClientMD
TargetCompID=ITLServer
UseDataDictionary=Y
ValidateFieldsOutOfOrder=Y
DataDictionary=java/spec/barclay/FIX42.xml
CheckLatency=N
SocketConnectHost=localhost
SocketConnectPort=5007
[SESSION]
BeginString=FIX.4.2
SenderCompID=ITLClientOrder
TargetCompID=ITLServer
UseDataDictionary=Y
ValidateFieldsOutOfOrder=Y
DataDictionary=java/spec/barclay/FIX42.xml
CheckLatency=N
SocketConnectHost=localhost
SocketConnectPort=5007
Thanx.
Dinesh.
DISCLAIMER: This e-mail message and any attachments are intended solely for
the use of the individual or entity to which it is addressed and may contain
information that is confidential or legally privileged. If you are not the
intended recipient, you are hereby notified that any dissemination,
distribution, copying or other use of this message or its attachments is
strictly prohibited. If you have received this message in error, please
notify the sender immediately and permanently delete this message and any
attachments.
|