| Modifier and Type | Field and Description |
|---|---|
| private final IoWriteFuture | |
| private final int | |
| private final Duration |
| Access | Constructor and Description |
|---|---|
| public | SftpMessage(int
SFTP message id id, IoWriteFuture IoWriteFuture of the SFTP message; can be used to wait until the message has been actually
sentthe configured SFTP write timeout timeout)Creates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public IoWriteFuture | getFuture()
Retrieves the |
| public int | |
| public Duration | Returns: the timeout, nevernullRetrieves the write timeout configured when the message was sent. |
| public void |
| future | back to summary |
|---|---|
| private final IoWriteFuture future | |
| id | back to summary |
|---|---|
| private final int id | |
| timeout | back to summary |
|---|---|
| private final Duration timeout | |
| SftpMessage | back to summary |
|---|---|
| public SftpMessage(int id, IoWriteFuture future, Duration timeout) Creates a new instance.
| |
| getFuture | back to summary |
|---|---|
| public IoWriteFuture getFuture() Retrieves the
| |
| getId | back to summary |
|---|---|
| public int getId() Retrieves the SFTP message id.
| |
| getTimeout | back to summary |
|---|---|
| public Duration getTimeout() Retrieves the write timeout configured when the message was sent.
| |
| waitUntilSent | back to summary |
|---|---|
| public void waitUntilSent() throws IOException Waits with the configured timeout until the message has been sent.
| |