TIBCO Adapter SDK C++ Reference
|
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 |
MAdvisoryListener * 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(MAdvisoryListener * pDefaultAdvListener, Mboolean bOwn = Mfalse);