TIBCO Adapter SDK C++ Reference
MSink::write
MSink | See Also
Write the specified message to this sink.

The behavior of this method depends on the type of sink: If the method is called in an MRvSink, the tree is published as an RvMsg. For other sinks, the tree is serialized to an MString and printed.

Parameters
Parameters Description
const MString& rsMessage Message to be sent to this sink.

const MTree& rmTree MTree to send to this sink.
Exceptions
M_ERROR_UNEXPECTED_FILE_SEEK_ERROR

M_ERROR_UNEXPECTED_FILE_WRITE_ERROR

See Also
"Tracing and Exception Handling" in TIBCO Adapter SDK Programmer's Guide.
Declaration
virtual void write(const MString& rsMessage, const MTree& rmTree) = 0;
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.