UMDS Java API  6.14
com.latencybusters.umds.UMDSReceiverRecoveryInfoCallback Interface Reference

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...
 

Detailed Description

This callback interface allows the application access to persistence related information.

It is used during instantiation of the UMDSPersistentReceiver class for receiving persistent messages.

Member Function Documentation

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.

Parameters
cbArgArbitrary callback object supplied by application when it constructed its UMDSPersistentReceiver object.
cbInfoPersistence information.
Returns
0 on success, -1 on error.

The documentation for this interface was generated from the following file: