Modifier and Type | Method and Description |
---|---|
CloseFuture |
Closeable.close(boolean immediately)
Close this resource asynchronously and return a future.
|
Modifier and Type | Method and Description |
---|---|
void |
Closeable.addCloseFutureListener(SshFutureListener<CloseFuture> listener)
Pre-register a listener to be informed when resource is closed.
|
void |
Closeable.removeCloseFutureListener(SshFutureListener<CloseFuture> listener)
Remove a pre-registered close event listener
|
Modifier and Type | Method and Description |
---|---|
CloseFuture |
AbstractChannel.GracefulChannelCloseable.close(boolean immediately) |
protected CloseFuture |
ChannelAsyncOutputStream.doCloseGracefully() |
protected CloseFuture |
ChannelAsyncInputStream.doCloseGracefully() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractChannel.GracefulChannelCloseable.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
AbstractChannel.GracefulChannelCloseable.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCloseFuture
A default implementation of
CloseFuture . |
Modifier and Type | Method and Description |
---|---|
protected CloseFuture |
Nio2Session.doCloseGracefully() |
Modifier and Type | Field and Description |
---|---|
protected CloseFuture |
AbstractCloseable.closeFuture
A future that will be set 'closed' when the object is actually closed
|
Modifier and Type | Method and Description |
---|---|
CloseFuture |
SimpleCloseable.close(boolean immediately) |
CloseFuture |
AbstractCloseable.close(boolean immediately) |
protected CloseFuture |
AbstractInnerCloseable.doCloseGracefully() |
protected CloseFuture |
AbstractCloseable.doCloseGracefully() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleCloseable.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
AbstractCloseable.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
SimpleCloseable.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
AbstractCloseable.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
Modifier and Type | Field and Description |
---|---|
protected CloseFuture |
NoCloseExecutor.closeFuture |
Modifier and Type | Method and Description |
---|---|
CloseFuture |
SshThreadPoolExecutor.close(boolean immediately) |
CloseFuture |
NoCloseExecutor.close(boolean immediately) |
protected CloseFuture |
SshThreadPoolExecutor.DelegateCloseable.doCloseGracefully() |
Modifier and Type | Method and Description |
---|---|
void |
SshThreadPoolExecutor.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
NoCloseExecutor.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
SshThreadPoolExecutor.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
NoCloseExecutor.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
Modifier and Type | Field and Description |
---|---|
protected CloseFuture |
ChannelSession.commandExitFuture |
Modifier and Type | Method and Description |
---|---|
CloseFuture |
ChannelSession.CommandCloseable.close(boolean immediately) |
Modifier and Type | Method and Description |
---|---|
void |
ChannelSession.CommandCloseable.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
ChannelSession.CommandCloseable.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.