directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [mina] how to close session for reading
Date Mon, 21 Nov 2005 13:02:33 GMT
I see. I posted the related issue to our JIRA.

Trustin

2005/11/21, Vinod Panicker <vinod.p@gmail.com>:
>
> On 11/21/05, Trustin Lee <trustin@gmail.com> wrote:
> > Hi Vinod,
> >
> > 2005/11/21, Vinod Panicker <vinod.p@gmail.com>:
> > > 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.
>



--
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message