UMDS Java API
6.14
|
This callback interface allows the application access to persistence related information. More...
Public Member Functions | |
int | setReceiverRecoverySequenceNumber (Object cbArg, UMDSReceiverRecoveryInfo cbInfo) |
Callback method for giving applications access to persistence related information. More... | |
This callback interface allows the application access to persistence related information.
It is used during instantiation of the UMDSPersistentReceiver class for receiving persistent messages.
int com.latencybusters.umds.UMDSReceiverRecoveryInfoCallback.setReceiverRecoverySequenceNumber | ( | Object | cbArg, |
UMDSReceiverRecoveryInfo | cbInfo | ||
) |
Callback method for giving applications access to persistence related information.
When the UMDS server associates a persistent Ultra Messaging source with this client receiver, it invokes this method to give the application access to persistence information. See UMDSReceiverRecoveryInfo for the available persistence information.
Note that this callback can be invoked multiple times for a given receiver. If there are multiple persisted sources, each one will result in a callback with that source's persistence information.
cbArg | Arbitrary callback object supplied by application when it constructed its UMDSPersistentReceiver object. |
cbInfo | Persistence information. |