close() on TCConnection

40 views
Skip to first unread message

Guillaume Yziquel

unread,
Dec 6, 2011, 5:06:36 AM12/6/11
to temenos-...@googlegroups.com
Hi.

I've browsed the source code of temenos-ofs-jdbc, and have noticed that
the return value of the close() method of TCConnections is never checked
for true or for false. Shouldn't you check its return value in
T24Connection.java.

Otherwise, thanks for making this code public, nice to see a use case of
T24 Client API published on the net.

--
Guillaume Yziquel

Dmitry.

unread,
Dec 6, 2011, 1:53:40 PM12/6/11
to temenos-...@googlegroups.com
This is based on source code of com.temenos.tocf.tcc.TCConnectionImpl.class of temenos client.
The method TCConnectionImpl.close() returns true or throws exception.
That's why I'm not checking the return value.

But of cause they could change this behavior in future releases.

Regards,
  Dmitry

Guillaume Yziquel

unread,
Dec 7, 2011, 3:36:32 AM12/7/11
to temenos-...@googlegroups.com
Le Tuesday 06 Dec 2011 à 10:53:40 (-0800), Dmitry. a écrit :
> This is based on source code of
> com.temenos.tocf.tcc.TCConnectionImpl.class of temenos client.
> The method TCConnectionImpl.close() returns true or throws exception.

Where do you get access to the source code of TCConnectionImpl? Doesn't
quite seem to be public, unfortunately.

> That's why I'm not checking the return value.
> But of cause they could change this behavior in future releases.

OK, thanks for clarifications.

> Regards,
> Dmitry

Best regards,

--
Guillaume Yziquel

Dmitry.

unread,
Dec 7, 2011, 2:05:56 PM12/7/11
to temenos-...@googlegroups.com
Hi,

I just used java decompiler:
http://java.decompiler.free.fr/?q=jdgui

Regards,
 Dmitry
Reply all
Reply to author
Forward
0 new messages