TIBCO Adapter SDK C++ Reference
MUnion::serialize
MUnion
Serializes this MUnion so it can be sent out as an MTree over the network.

By default, messages are sent in MMessageFormat.AERV. The default can be overridden by the command line.

See "Transports, Wire Formats, and Message Formats" in TIBCO Adapter SDK Programmer's Guide.

See also MMessageFormat.

Parameters
Parameters Description
MTree& refMTree MUnion instance you want to serialize.
MMessageFormat formatHint One of M_AERV_MESSAGE_FORMAT, M_XMLJMS_MESSAGE_FORMAT or M_XMLRV_MESSAGE_FORMAT
MDataSerializer* s = NULL Users should ignore this parameter. This is for internal use only by the SDK.
Declaration
Mboolean serialize(MTree& refMTree, MMessageFormat formatHint, MDataSerializer* s = NULL) const;
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.