TipcMsgGetExpiration get the expiration property of a message
msg
message to get the expiration of
expiration_return
storage for message expiration time
TRUE
if the expiration was successfully retrieved from the message, FALSE
otherwise.
If TipcMsgGetExpiration fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgGetExpiration gets 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 gets the expiration property of a message:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |