Type


Type:
Message type data structure of C type T_IPC_MT
Default Value:
None. This value must be supplied when creating a message.
Valid Values:
Any valid message type

The type property identifies the kind of message being manipulated. For example, a message containing numeric variable values is typically constructed as a NUMERIC_DATA type of message. For a discussion of message types, see Message Types. For a complete list of standard message types, see Standard Message Types.

Function to set value:

TipcMsgSetType. For example:

mt = TipcMtLookupByNum(T_MT_NUMERIC_DATA); 
if (mt == NULL) { 
  /* error */ 
} 
if (!TipcMsgSetType(msg, mt)) { 
  /* error */ 
} 
Function to get value:

TipcMsgGetType. For example:

if (!TipcMsgGetType(msg, &mt)) { 
  /* error */ 
} 

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