| Package | Description |
|---|---|
| org.apache.sshd.common | |
| org.apache.sshd.common.future | |
| org.apache.sshd.common.io | |
| org.apache.sshd.common.util.closeable | |
| org.apache.sshd.common.util.threads |
| 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 | Class and Description |
|---|---|
class |
DefaultCloseFuture
A default implementation of
CloseFuture. |
| Modifier and Type | Method and Description |
|---|---|
CloseFuture |
IoSession.close(boolean immediately)
Closes this session immediately or after all queued write requests are flushed.
|
| 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 |
AbstractCloseable.close(boolean immediately) |
CloseFuture |
SimpleCloseable.close(boolean immediately) |
protected CloseFuture |
AbstractInnerCloseable.doCloseGracefully() |
protected CloseFuture |
AbstractCloseable.doCloseGracefully() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCloseable.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
SimpleCloseable.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
AbstractCloseable.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
SimpleCloseable.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
| Modifier and Type | Field and Description |
|---|---|
protected CloseFuture |
NoCloseExecutor.closeFuture |
| Modifier and Type | Method and Description |
|---|---|
CloseFuture |
NoCloseExecutor.close(boolean immediately) |
CloseFuture |
SshThreadPoolExecutor.close(boolean immediately) |
protected CloseFuture |
SshThreadPoolExecutor.DelegateCloseable.doCloseGracefully() |
| Modifier and Type | Method and Description |
|---|---|
void |
NoCloseExecutor.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
SshThreadPoolExecutor.addCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
NoCloseExecutor.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
void |
SshThreadPoolExecutor.removeCloseFutureListener(SshFutureListener<CloseFuture> listener) |
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.