[
https://issues.apache.org/jira/browse/SSHD-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved SSHD-322.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Assignee: Guillaume Nodet
https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=569fac2a3af52050b81b85f0a8860f20162324f9
> Add Closeable#isClosed() and #isClosing()
> -----------------------------------------
>
> Key: SSHD-322
> URL: https://issues.apache.org/jira/browse/SSHD-322
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.11.0
> Reporter: Darren Shepherd
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 0.12.0
>
>
> A way for an external component to check and see if a ClientSession is closed
> it particularly useful in some situations. For example, if you are pooling
> ClientSession objects you could use isClosed() to valid the object as it is
> added and removed from the pool.
> Currently you can detected a closed session with a Session Listener, but that
> requires that you store the state somewhere else if you need to refer back to
> it in the future.
--
This message was sent by Atlassian JIRA
(v6.2#6252)