It seems that sessionCreated fires when connection is made.
What fires when connection times out (in handler?) ?
Also, when I call connect, I want to track what port I told it to go.
I will have 500 threads going at a time, when it connects or timesout, I
need to extract that port in the method.
tia,
.V
G.S.S. Mahadevan wrote:
here are some possible error codes:
* Connection Accepted/Refused-exception -- is host is up
* Connection timedout -- Host most probably not up
<snip>
So you can use SocketConnector.connect() and ThreadPool to get that
functionality.
Hope this helps
mahadevan