raccoon.tibco.tibrv.admin.ledger
Class LedgerCallback

java.lang.Object
  extended by raccoon.tibco.tibrv.admin.ledger.LedgerCallback
All Implemented Interfaces:
com.tibco.tibrv.TibrvCmReviewCallback, com.tibco.tibrv.TibrvMsgCallback

public class LedgerCallback
extends java.lang.Object
implements com.tibco.tibrv.TibrvCmReviewCallback, com.tibco.tibrv.TibrvMsgCallback

TODO Comment this class.

Since:
Raccoon BPEL 0.1
Version:
0.1
Author:
Cedric ROUVRAIS

Constructor Summary
LedgerCallback()
           
 
Method Summary
 long getLastSequence()
           
 java.util.ArrayList<IBusMessage> getMessages()
           
 java.util.Iterator<LedgerInfo> iterLedgerInfo()
           
 boolean onLedgerMsg(com.tibco.tibrv.TibrvCmTransport pTibrvCmTransport, java.lang.String pSubject, com.tibco.tibrv.TibrvMsg pTibrvMsg, java.lang.Object pClosure)
          Invoked by the associated transport for each attached ledger.
 void onMsg(com.tibco.tibrv.TibrvListener pTibrvListener, com.tibco.tibrv.TibrvMsg pTibrvMsg)
           
 void setLastSequence(long pLastSequence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LedgerCallback

public LedgerCallback()
Method Detail

onLedgerMsg

public boolean onLedgerMsg(com.tibco.tibrv.TibrvCmTransport pTibrvCmTransport,
                           java.lang.String pSubject,
                           com.tibco.tibrv.TibrvMsg pTibrvMsg,
                           java.lang.Object pClosure)
Invoked by the associated transport for each attached ledger.

Specified by:
onLedgerMsg in interface com.tibco.tibrv.TibrvCmReviewCallback
Parameters:
pTibrvCmTransport - the RvCM transport to which this callback is attached to.
pSubject - the subject that this message summarizes
pTibrvMsg - this parameter receives a summary message describing the delivery status of messages in the ledger
pClosure - closure data, not really used?
Returns:
true to stop the review ledger process.

iterLedgerInfo

public java.util.Iterator<LedgerInfo> iterLedgerInfo()

onMsg

public void onMsg(com.tibco.tibrv.TibrvListener pTibrvListener,
                  com.tibco.tibrv.TibrvMsg pTibrvMsg)
Specified by:
onMsg in interface com.tibco.tibrv.TibrvMsgCallback

getMessages

public java.util.ArrayList<IBusMessage> getMessages()

setLastSequence

public void setLastSequence(long pLastSequence)

getLastSequence

public long getLastSequence()


Copyright null null. All Rights Reserved.