You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Jamie Johnson <je...@gmail.com> on 2019/03/02 04:02:39 UTC

usage question

I have an application that uses SshClient and was wondering what the best
usage pattern was.  Is it better to have a single long living SshClient
that is used throughout the application or to open and close the SshClient
as needed?  My particular use case is centered around a recurring task that
essentially polls for information.

Re: usage question

Posted by Jonathan Valliere <jo...@apache.org>.
Please use the users mailing list for generic questions not related to
active development or bugs.

On Sat, Mar 2, 2019 at 12:12 AM Jamie Johnson <je...@gmail.com> wrote:

> I have an application that uses SshClient and was wondering what the best
> usage pattern was.  Is it better to have a single long living SshClient
> that is used throughout the application or to open and close the SshClient
> as needed?  My particular use case is centered around a recurring task that
> essentially polls for information.
>