Hi
The ConnectingIOReactor's connect method returns a SessionRequest, and
you are then able to set a callback on this to be notified of the
outcome - i.e. a successful completion, fault or timeout.
SessionRequest req = ioReactor.connect(remoteAddress, localAddress,
Object );
req.setCallback(sessionRequestCallback);
Isn't it better to be able to pass the callback along with the connect()
invocation? Else it seems like there maybe a possibility that you
encounter a fault during connect, but still does not have the callback
to invoke to handle the situation
thanks
asankha
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]