From: Jeronimo G. <jj...@pr...> - 2007-04-19 17:52:09
Hi,
I was using quickfixj 1.0.5 and in order to see if a given session was
timed out I called getState().isTimedOut()
Now in 1.1.0 there is no getState() method in Session. How can I know if
a session is timed out in 1.1?
Thanks in advance,
Jeronimo
Looks like the getState() function disappeared from Session.java in
revision 567, but corresponding delegation getter was left out:
http://quickfixj.svn.sourceforge.net/viewvc/quickfixj/trunk/core/src/main/java/quickfix/Session.java?r1=549&r2=567
Not sure if there's now a way to get to that function, so this may be a bug.
On 4/19/07, Jeronimo Ginzburg <jj...@pr...> wrote:
> I was using quickfixj 1.0.5 and in order to see if a given session was
> timed out I called getState().isTimedOut()
> Now in 1.1.0 there is no getState() method in Session. How can I know if
> a session is timed out in 1.1?
--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
From: Steve B. <st...@te...> - 2007-04-19 20:57:35
> I was using quickfixj 1.0.5 and in order to see if a given session was
> timed out I called getState().isTimedOut()
> Now in 1.1.0 there is no getState() method in Session. How can I know if
> a session is timed out in 1.1?
The SessionState accessor was intentionally removed. The
SessionState object has never been intended for application
usage (as stated in it's Javadocs).
How are you using the isTimedOut() method? Are you using it to
determine why a Session connection was disconnected? I'll consider
adding a Session-level accessor for the information (still not
exposing SessionState), but I'd like to discuss it first.
Steve