TipcMsgSetArrivalTimestamp


Name

TipcMsgSetArrivalTimestamp — set the arrival timestamp property of a message

Synopsis

T_BOOL TipcMsgSetArrivalTimestamp(msg, arrival_timestamp) 
T_IPC_MSG msg; 
T_REAL8 arrival_timestamp; 

Arguments

msg — message to set arrival timestamp for

arrival_timestamp — message arrival timestamp

Return Values

TRUE if the arrival timestamp was successfully set for the message, FALSE otherwise.

Diagnostics

If TipcMsgSetArrivalTimestamp fails, it returns FALSE and sets the global SmartSockets error number to one of:

Description

TipcMsgSetArrivalTimestamp sets 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.

Caution

None

See Also

TipcMsgGetArrivalTimestamp

Examples

This example sets the arrival timestamp property of a message to the current time:

if (!TipcMsgSetArrivalTimestamp(msg, TutGetWallTime())) { 
  return;  /* error */ 
} 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com