TIBCO Adapter SDK C++ Reference
MPublisher::MPublisher
MPublisher
The constructor allows you to specify the session in which to create the MPublisher.
Parameters
Parameters Description
MApp* pMApp Adapter application for which this publisher is being created.
const MString& rsObjectName Name of this publisher instance.
const MString& rsSessionName Name of the TIBCO Rendezvous session in which to create this MPublisher.
MCommProtocol protocol Protocol with which this publisher will publish.
const MString& rsSubjectName Send messages to TIBCO Rendezvous using this subject name. You can change the subject using the MPublisher::setSubjectName() method.
Mboolean bAssignMessageGUID = Mfalse If the value of this parameter is true, the SDK assigns a unique ID to the message published by this publisher.
Exceptions
M_ERROR_DATA_INVALID_PARAMETER_VALUE

M_ERROR_USAGE_UNSATISFIED_PRECONDITION

Declaration
MPublisher(MApp* pMApp, const MString& rsObjectName, const MString& rsSessionName, MCommProtocol protocol, const MString& rsSubjectName, Mboolean bAssignMessageGUID = Mfalse) throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.