-----BEGIN PGP SIGNED MESSAGE-----
Hi Mike,
I have been having 'fun' enhancing njpipes. Some very nice stuff in the works.
specs
the ability to code 'pipe, addpipe or callpipe' in a nextrexx program (like cms)
tcpip stages
This brings me to my question.
With java sockets you can make a call to setSoTimer(int) to set a read timeout.
If the timeout triggers you get a InterruptedIOException, which is a class that
extends IOException. Problem is that serverSocket.accept and the various
read routines higher up do not have InterruptedIOException on the signals list.
When using code like
setSoTimer(int 10000)
do
ear.accept()
catch InterruptedIOException
some code..
end
Netrexx complains that InterruptedIOException is not thrown... but it can be.
Best I can think of is to trap the IOException and test if it really was an
InterruptedIOException. IMHO not an idea solution.
Tia,
Ed Tomlinson (
[hidden email])
Montreal, Canada
To obtain my public key mail me with a subject of: PGP Key
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQEVAwUBNUNWXTaYyP7siYcJAQFYzAgAsabqAbfLHOdhcvO3+PO9jz6T2nd8w096
d/tb9yFkkG0lMi1f9fOVjYykcjA+bJnLlT/RWtQNA+BNz6WKwBRDYNuA0QMOG9N1
Hp6LMp87VijtzGXbJpvgAZnNrwbFM4uYbjK5I5V1SN8Irqb1r3owmuNeWA2Ghwxi
bZKoxK2s1mRlmoA+aiXjyQ4rEPNoLuBHDW5AM5JqNP9nBh6ZYdiXsK2fEGk3UU72
EnfSbG1xaYDQgZlEcqKZR8b7RCBOsvNHmI4r+IPR3XHQYOaSM/f2mHHqOk5ykOWb
VQLXQ0YsU07UijXAv8FrhQZJ4zWVMbtQisutABAjZugExawMJ2XKWg==
=d3QV
-----END PGP SIGNATURE-----
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>