TibrvCmReviewCallback.onLedgerMsg()
Method
Declaration
booleanonLedgerMsg
(
TibrvCmTransport cmTransport,
java.lang.String subject,
TibrvMsg msg,
java.lang.Object closure)
Purpose
Programs define this method to process ledger review messages.
Remarks
TibrvCmTransport.reviewLedger() calls this callback method once for each matching subject stored in the ledger.
To continue reviewing the ledger, return false
from this callback method. To stop reviewing the ledger, return true
from this callback method; TibrvCmTransport.reviewLedger() cancels the review and returns immediately.
Parameter |
Description |
|
This parameter receives the transport. |
|
This parameter receives the subject for this ledger item. |
|
This parameter receives a summary message describing the delivery status of messages in the ledger. The table below describes the fields of the summary message. |
|
This parameter receives closure data that the program supplied to TibrvCmTransport.reviewLedger(). |
Field Name |
Description |
|
The subject that this message summarizes. This field has datatype |
|
The sequence number of the most recent message sent with this subject name. This field has datatype |
|
The total number of messages stored at this subject name. This field has datatype |
|
The total storage (in bytes) occupied by all messages with this subject name. If the ledger contains several messages with this subject name, then this field sums the storage space over all of them. This field has datatype |
|
Each summary message can contain one or more fields named This field has datatype |
|
Within each This field has datatype |
|
Within each This field has datatype |