directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaspar Luethi <>
Subject Re: [mina] how to close session for reading
Date Sun, 20 Nov 2005 13:41:05 GMT
>Wouldn't it be more elegant if you could do session.closeForInput()
>in messageReceive() ?

i think ProtocolSession is gone since 0.9, but 0.8 should also have
the suspendRead() method, which probably does what you need.

"A shortcut method for setTrafficMask(TrafficMask) that suspends
read operations for this session."


View raw message