I am a little confused about the timeouts.
I would like a little bit of explanations of what does mean and its consequences the following timeouts:


IoConnectorConfig.setConnectTimeout(int connectTimeout)

 if the client could not establish a connection with the server in
 connectTimeout = 30 seconds, what happens ?
 Tried to connect to a non existent server, then a
"java.net.ConnectException: Connection refused" was throw

or when the server could not accept the connection at the specidied timeout ?

SocketConnector.setWorkerTimeout(long workerTimeout)
IoSession.setWriteTimeout(int writeTimeout)
IoSession.setIdleTime(IdleStatus status, int idleTime)

So, which timeout, when specified on the client will cause the connection to be closed, when it is reached ?

TIA
--


 Claudio Miranda
 ___________________________________________________________________
 http://www.claudius.com.br/blog          claudio|em|claudius.com.br
 http://www.summa-tech.com              Summa Technologies do Brasil
 http://www.soujava.org.br

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to