You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2020/09/08 23:32:42 UTC
[NET] org.apache.commons.net.SocketClient and Closeable
Hi All,
It seems to me that org.apache.commons.net.SocketClient should
implement Closeable where close() can be implemented as calling
disconnect().
WDYT?
Gary
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [NET] org.apache.commons.net.SocketClient and Closeable
Posted by Gary Gregory <ga...@gmail.com>.
This will have to wait for 4.0 since
org.apache.commons.net.imap.IMAPClient.close() returns a boolean.
Gary
On Tue, Sep 8, 2020 at 7:38 PM Melloware Inc <me...@gmail.com> wrote:
>
> I agree that would be expected behavior and allow it to work in try with resources.
>
> Sent from my iPhone
>
> > On Sep 8, 2020, at 7:33 PM, Gary Gregory <ga...@gmail.com> wrote:
> >
> > Hi All,
> >
> > It seems to me that org.apache.commons.net.SocketClient should
> > implement Closeable where close() can be implemented as calling
> > disconnect().
> >
> > WDYT?
> >
> > Gary
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [NET] org.apache.commons.net.SocketClient and Closeable
Posted by Melloware Inc <me...@gmail.com>.
I agree that would be expected behavior and allow it to work in try with resources.
Sent from my iPhone
> On Sep 8, 2020, at 7:33 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> Hi All,
>
> It seems to me that org.apache.commons.net.SocketClient should
> implement Closeable where close() can be implemented as calling
> disconnect().
>
> WDYT?
>
> Gary
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org