Modifier and Type | Method and Description |
---|---|
CloseFuture |
ChannelAgentForwarding.close(boolean immediately) |
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.close(boolean immediately) |
CloseFuture |
AbstractChannel.GracefulChannelCloseable.close(boolean immediately) |
protected CloseFuture |
ChannelAsyncInputStream.doCloseGracefully() |
protected CloseFuture |
ChannelAsyncOutputStream.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 |
---|---|
CloseFuture |
Nio2Acceptor.close(boolean immediately) |
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 |
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) |
Modifier and Type | Method and Description |
---|---|
CloseFuture |
TcpipServerChannel.close(boolean immediately) |