TipcMsgSetExpiration set the expiration property of a message
msg
message to set the expiration of
expiration
message expiration time
TRUE
if the expiration was successfully set for the message, FALSE
otherwise.
If TipcMsgSetExpiration fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgSetExpiration sets the expiration, also known as time to live, property of a message. The expiration property controls how long, in seconds, the message should be in existence. Applications of messages are free to use the expiration for any purpose. A value of 0.0
indicates that the message does not expire.
None
This example sets the expiration property of a message to 30 seconds:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |