TIBCO Adapter SDK C++ Reference
MRvSession::enableCm
MRvSession
Convert an RvSession to a RVCM session.
Parameters
Parameters Description
const MString& rsCmName The certified message name to use.
const MString& rsLedgerName The ledger file name. Use the empty string ""
Mboolean bRequireOldMessages Set this to Mtrue if this session expects senders to resend unconfirmed messages
unsigned long ulTimelimit Amount of time (in milliseconds) before an unconfirmed certified message will be discarded from the ledger file. A value of 0 indicates never discard.
const MString& rsRelayAgent = "" Unused by default. This designates the rvrad process of the same name as the relay agent for this session.
Mboolean bSynchronousLedger = Mtrue If set to Mtrue, then all ledger file updates are written immediately. Otherwise, they are written asynchronously. This is typically changed from the default only under specialized circumstances.
unsigned long ulSynchronousLedgerTime = 0 If bSynchronousLedger is MFalse, this is the time interval to write the ledger file.
Declaration
void enableCm(const MString& rsCmName, const MString& rsLedgerName, Mboolean bRequireOldMessages, unsigned long ulTimelimit, const MString& rsRelayAgent = "", Mboolean bSynchronousLedger = Mtrue, unsigned long ulSynchronousLedgerTime = 0) throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.