In SMTPHandler::handleConnection() method, why do we use the avalon
scheduler & trigger mechanism to handle a connection timeout? Instead why
don't we use the java.net.Socket.setSoTimeout(timeout) method, so when the
connection actually times out, the InterruptedIOException exception will be
thrown (which we're catching anyway) where we can take the same action as is
being taken in the trigger callback method targetTriggered() ?


Shilpa Dalmia
PostX Corporation


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to