public static interface Session.MessageResendingListener
Modifier and Type | Method and Description |
---|---|
boolean |
onMessageResending(Object sender,
Session.MessageResendingArgs args)
This method is called when the sent application-level message is about to be re-sent to the counterparty in
reply to the ResendRequest(2) message.
|
void |
onMessageResendingFinished(Object sender,
long beginSeqNum,
long endSeqNum)
This method is called when the resending process is completed.
|
void |
onMessageResendingStarted(Object sender,
long beginSeqNum,
long endSeqNum)
This method is called when the ResendRequest(2) message is received and the session is about to start to
resend messages.
|
boolean onMessageResending(Object sender, Session.MessageResendingArgs args)
Warning. It is critical to avoid
in the session event listener calling thread. Please do it from another thread.
sender
- event sourceargs
- event datatrue
if the message should be re-sent to the counterparty,
otherwise - false
.void onMessageResendingStarted(Object sender, long beginSeqNum, long endSeqNum)
Warning. It is critical to avoid
in the session event listener calling thread. Please do it from another thread.
sender
- event sourcebeginSeqNum
- begin sequence number obtained from received ResendRequest(2)endSeqNum
- end sequence number obtained from received ResendRequest(2) and processedvoid onMessageResendingFinished(Object sender, long beginSeqNum, long endSeqNum)
Warning. It is critical to avoid
in the session event listener calling thread. Please do it from another thread.
sender
- event sourcebeginSeqNum
- begin sequence number obtained from received ResendRequest(2)endSeqNum
- end sequence number obtained from received ResendRequest(2) and processedCopyright © 2005–2024 Onix Solutions. All rights reserved.