On 7/25/07, Kevin Smeltzer <[EMAIL PROTECTED]> wrote:
Yes I did that. The connection IS made.

It appears that the IoSession reference returned by this code:

session = connectFuture.getSession();

Is different than the IoSession reference passed to this method:

public void sessionOpened(IoSession session) throws Exception {}

So... by setting my IoSession member variable to reference the
IoSession passed to sessionOpened, it works.

But shouldn't the IoSession returned by connectFuture.getSession();
and public void sessionOpened(IoSession session) throws Exception {}
be the same?

They should be the same.  It's weird.  I suspect a bug.  Could you
provide reproduceable client and server?

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to