TIBCO Adapter SDK C++ Reference
|
This method must be called before MApp::start(). This method replaces any existing listener with the one specified by the pDefaultAdvListener argument.
This method owns one instance of the MAdvisory class per MApp. It also maintains the sequence dependency of deserialization for advisory-related configuration information (all advisory info must be deserialized before any MRvSession info).
Parameters | Description |
MEventListener * pDefaultAdvListener | Custom advisory listener used for handling advisory messages. All generated advisory messages will invoke the user's pDefaultAdvListener->onEvent() method. |
Mboolean bOwn = Mfalse | If this flag is true, TIBCO Adapter SDK takes ownership of the listener. Otherwise, the user is responsible for destroying the listener. |
virtual void setAdvisoryListener(MEventListener * pDefaultAdvListener, Mboolean bOwn = Mfalse);