If following was added to AbstractClientChannel I could get CloseFuture and add listener:

    public CloseFuture getCloseFuture()
    {
        return this.closeFuture;
    }

Any chance it could be added to SSHD 0.15.0?

Thanks,

Mike

Michael Bean (Mike)
Alcatel-Lucent
AAA Product Group
3461 Robin Ln, Ste 1
Cameron Park, CA 95682
Email: [email protected]
Phone: 1 530 350 6564
Fax:   1 530 672 1757

On 8/10/2015 1:09 PM, Bean, Michael J (Mike) wrote:
Rather than block waiting for server to close channel after executing a command, I would like to be notified by close handler or some other callback. It would appear if I had the ability to get CloseFuture without actually closing channel, I could add listener to see sever close channel but no such call exists. Also don't see any way to replace request handler to schedule processing say exit-status. Looking through code, waitFor( int mask, long timeout) in AbstractClientChannel appears to be only way to be notified of a state change. Please let me know if I'm missing anything here. Would like to avoid blocking a client thread waiting for command to complete.

Thanks,

Mike


Reply via email to