mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: how to get ServerSessionobject within each session thread
Date Fri, 27 Jul 2012 17:17:53 GMT
Le 7/27/12 6:01 PM, Sami a écrit :
> The question is how to get the iosession Object. Once we have it we can store it
> for further use. For example, say we have EchoShell.With each EchoShell we
> would have an ioSession associated and within EchoShell class I want to use this
> ioSession object.
>
>
>
>
The IoSession is available in the IoHandler events :

...
     void messageReceived(IoSession session, Object message) throws 
Exception;
...

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Mime
View raw message