Message ID


Type:
Identifier of C type T_STR
Default Value:
""
Valid Values:
Any character string

The message ID property uniquely identifies a SmartSockets message. No two messages ever have the same message ID. An application can use the message ID property to uniquely identify a message.

Function to set value:

This property is not set, but is generated, using TipcMsgGenerateMessageId. For example:

if (!TipcMsgGenerateMessageId(msg)) { 
  /* error */ 
} 
Function to get value:

TipcMsgGetMessageId. For example:

T_STR id; 
if (!TipcMsgGetMessageId(msg, &id)) { 
  /* error */ 
} 
TutOut("msg had identifier %s\n", id ? id : "<NULL>"); 

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