On 11/21/05, Trustin Lee <[EMAIL PROTECTED]> wrote: > Hi Vinod, > > 2005/11/21, Vinod Panicker <[EMAIL PROTECTED]>: > > Basically it seems like this is a feature request for the shutdown() api. > > > > Trustin, if shutdown was exposed, users could close the underlying > > stream for reading/writing selectively. > > Hmm, right. we could override close() method with an additional parameter > (perhaps TrafficMask). WDYT?
I think its much better to use the shutdown() semantic. It will ensure that people who come to MINA from using standard I/O calls find it convenient. shutdown() will need to take a mask that specifies read/write/both as possible values. Regards, Vinod.
