TIBCO Adapter SDK C++ Reference
|
Parameters | Description |
const MString& rsObjectName | Name of this subscriber instance. Must be unique. |
const MString& rsSessionName | Name of the session in which this MSubscriber is to be created. |
MCommProtocol protocol | Communications protocol. Either M_RV, M_RVCM, M_RVCMQ, or M_RVTX. |
const MString& rsSubjectName | The subscriber listens for messages on this subject. |
unsigned long ulTimeout = 0 |
After the subscriber is activated, it waits for an event. If the subscriber is activated and doesn’t get an event within the specified timeout period, it returns and dispatches a timeout event. If the subscriber receives one (or more) events after activation but no additional events for amounts of time exceeding the timeout, there is no timeout event. This value is specified in milliseconds. Default is 0, that is, never time out.
|
Mboolean bMustActivate = Mtrue | If set to true, the default, this subscriber is active when it is created. Otherwise, it is inactive and applications have to call the activate() method explicitly. |
pMApp | Adapter application in which this subscriber is created. |
MSubscriber(MApp* pApp, const MString& rsObjectName, const MString& rsSessionName, MCommProtocol protocol, const MString& rsSubjectName, unsigned long ulTimeout = 0, Mboolean bMustActivate = Mtrue) throw( MException );