Package org.signal.libsignal.net
Class ChatConnectionListener.ServerMessageAck
-
- All Implemented Interfaces:
-
org.signal.libsignal.internal.NativeHandleGuard.Owner
public class ChatConnectionListener.ServerMessageAck extends NativeHandleGuard.SimpleOwner
-
-
Method Summary
Modifier and Type Method Description voidsend()Responds to the server, confirming delivery of an incoming message. -
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.SimpleOwner
unsafeNativeHandleWithoutGuard -
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.Owner
guard, guardedMap, guardedMapChecked, guardedRun, guardedRunChecked -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
send
void send()
Responds to the server, confirming delivery of an incoming message.
If the connection on which the message was delivered has already been closed, the Future will fail. However, there's not much that can be done in this scenario besides perhaps logging the error. Since the message was not ack'd, the server will attempt to deliver it again later.
-
-
-
-