Re: Fw: Session Closed

2013-01-18 Thread Emmanuel Lécharny
Le 1/18/13 4:03 PM, Jon V a écrit : > I'm looking for how Mina is determining a close from NIO. Since NIO does not > have any direct method to detect closure.(without calling write/read and > getting a -1) When a socket is closed, the select() call is interrupted with an OP_READ event, and the r

Fw: Session Closed

2013-01-18 Thread Jon V
I'm looking for how Mina is determining a close from NIO. Since NIO does not have any direct method to detect closure.(without calling write/read and getting a -1) > > On Friday, January 18, 2013 at 9:37 AM, Emmanuel Lécharny wrote: > > > Le 1/18/13 2:48 PM, Jon V a écrit : > > > Emmanu

Re: Session Closed

2013-01-18 Thread Emmanuel Lécharny
Le 1/18/13 2:48 PM, Jon V a écrit : > Emmanuel, > > I am trying to find out how Mina is detecting Session closures for 2.0.7. > Source searches do not seem to help. Can you point me in the right > direction? Depends. - If the session is cleanly closed, your IoHandler will received a Session

Session Closed

2013-01-18 Thread Jon V
Emmanuel, I am trying to find out how Mina is detecting Session closures for 2.0.7. Source searches do not seem to help. Can you point me in the right direction? -- Jon V