Summary


In this lesson you learned that:

  1. Create a message of a particular type (TipcMsgCreate, TipcMsgClone).
  1. Set the properties of the message (TipcMsgSet*).
  2. Append fields to the message (TipcMsgAppend* or TipcMsgAddNamed*).
  3. Messages are read from RTserver using TipcSrvMsgNext.
  4. Typically, retrieving information from the data part of a message consists of these two steps:
  1. Set the message pointer to the field of interest (TipcMsgSetCurrent).
  1. Access the fields of the message sequentially (TipcMsgNext*) or by name (TipcMsgGetNamed*).
  2. Messages leaving or coming into a process can be logged. Logging is enabled by setting the TIBCO SmartSockets options Log_In_Data, Log_In_Status, Log_In_Internal, Log_Out_Data, Log_Out_Status, and Log_Out_Internal.
  3. TIBCO SmartSockets options are set using the setopt command or programmatically using the utility functions TutOptionSet*.
  4. TIBCO SmartSockets commands can be placed into a file and sourced using the utility function TutCommandParseFile. TIBCO SmartSockets commands can be executed programmatically using TutCommandParseStr.

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