ImqItem

Figure 14. ImqItem class

This abstract class represents an item, perhaps one of several, within a message. Items are concatenated together in a message buffer. Each specialization is associated with a particular data structure that begins with a structure id.

Polymorphic methods in this abstract class allow items to be copied to and from messages. The ImqMessage class readItem and writeItem methods provide another style of invoking these polymorphic methods that is more natural for application programs.

This class relates to the MQI calls listed in Table 15.