The reference count property identifies the number of independent references to a message. This property can be used to prevent a message from being destroyed while it is still in use. This is useful when using functions that destroy a message (see Destroying a Message). Incrementing the reference count of a message is faster and uses less memory than making a complete copy of the message with TipcMsgClone.
TipcMsgIncrRefCount increments the message reference count. TipcMsgDestroy decrements the message reference count and destroys the message if the reference count drops to zero. For example:
TipcMsgGetRefCount. For example:
TIBCO SmartSockets™ User’s Guide Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |