Fri, 2 Apr 2010 15:39:41 +0200 -n
Kúti Zsolt <[email protected]> írta:

> Hello,
> 
> My app is to reuse an NioSocketConnector.
> 
> A snippet from the method that is to be called repeatedly:
> ...
> IoSessionInitializer ioi = new IoSessionInitializer<ConnectFuture>() {
>     public void initializeSession(IoSession session, ConnectFuture
> future) { session.setAttribute("attr", attr);
>     }
> };
> connector.connect(host, ioi);
> ...
> 
> 
> What I see is that although this connector.connect is called, a
> new session is initialized repeatedly, only the first session 
> writes data out (e.g. sessionOpened called in the handler). This
> session is closed after then succesfully.
> 
> Why the other sessions are not created and work as expected?

Ignore this please, my mistake. Sorry for the noise.

Zsolt

Reply via email to