Expiration


Type:
Eight-byte real number of C type T_REAL8
Default Value:
0.0
Valid Values:
Any real number 0.0 or greater

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.

Function to set value:

TipcMsgSetExpiration. For example:

if (!TipcMsgSetExpiration(msg, 30.0)) { 
  /* error */ 
} 
Function to get value:

TipcMsgGetExpiration. For example:

T_REAL8 time_to_live; 
if (!TipcMsgGetExpiration(msg, &time_to_live)) { 
  /* error */ 
} 

TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com