TIBCO Adapter SDK C++ Reference
|
The TIBCO Adapter SDK provides the three subclasses of MSink: MFileSink MRvSink, and MStdioSink. Applications can extend the list of available sinks by implementing, for example, a DbSink class or other subclasses.
To implement tracing, an application maps a trace to a sink by calling MTrace::addMapping(). Once the mapping has been created, messages sent to the MTrace object via its trace() method are automatically logged into the specified file (MFileSink) or sent out as a TIBCO Rendezvous message (MRvSink).
If you define an MSink with no roles, it is not created in memory until the role is added.
class MSink : public MComponent;
MObject MComponent MSink