TipcMsgGetArrivalTimestamp get the arrival timestamp property of a message
T_BOOL TipcMsgGetArrivalTimestamp(msg, arrival_timestamp_return
) T_IPC_MSGmsg
; T_REAL8 *arrival_timestamp_return
;
msg
message to get arrival timestamp from
arrival_timestamp_return
storage for message arrival timestamp
TRUE
if the arrival timestamp was successfully retrieved from the message, FALSE
otherwise.
If TipcMsgGetArrivalTimestamp fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgGetArrivalTimestamp gets the arrival timestamp property of a message. As messages are read, their arrival timestamp property will automatically be set. A value of 0.0
indicates that the arrival timestamp property was not set.
This example gets the arrival timestamp of a message:
T_REAL8 arrival_timestamp; if (!TipcMsgGetArrivalTimestamp(msg, &arrival_timestamp)) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |