| Package | Description |
|---|---|
| net.maritimecloud.net |
Provides commonly used classes for communicating with remote actors on the maritime cloud.
|
| Modifier and Type | Method and Description |
|---|---|
Acknowledgement |
Acknowledgement.handle(java.util.function.Consumer<Throwable> fn)
Returns a new Acknowledgement that, when the message that was send has been acknowledged is executed.
|
Acknowledgement |
Acknowledgement.orTimeout(long timeout,
TimeUnit unit)
Creates a new acknowledgement that will time out via
TimeoutException if the message has not been
acknowledgement within the specified timeout. |
Acknowledgement |
DispatchedMessage.relayed()
If the underlying protocol used for sending the message uses a central relaying server, for example MMS.
|
Acknowledgement |
Acknowledgement.thenRun(Runnable runnable)
Returns a new Acknowledgement that, when the message that was send has been successfully acknowledged, executes
the given action.
|
default Acknowledgement |
Acknowledgement.timeout(long timeout,
TimeUnit unit)
Deprecated.
|
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.