CCL Version 3.3.1 
CIGI Class Library : Users' Guide
Processing Incoming Messages : Iteration Method

Processing Incoming Messages

The Iteration Method

The forth method is referred to as "Iteration" processing. When a packet is received the Incoming Message Object determines which CIGI Class Library object unpacks the data and then hands the user a pointer to the CIGI Class Library object used to unpack the message. Using the iteration processing method is highly discouraged. It is not fully supported and has not been fully tested nor is there any plan to do either.

Example: Using Iteration to Process an Incoming Message
// For the first packet of the message: CigiBasePacket *Packet_pointer = IncomingMessage.GetFirstPacket(); // For each of the following packets of the message: CigiBasePacket *Packet_pointer = IncomingMessage.GetNextPacket(); // (This is repeated until GetNextPacket returns NULL)
SourceForge LogoBoeing
******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ********