MQCBC - Callback context
The following table summarizes the fields in the structure. Structure describing the callback routine.
Field | Description | Topic |
---|---|---|
StrucID | Structure identifier | StrucID |
Version | Structure version number | Version |
CallType | Why function has been called | CallType |
Hobj | Object handle | Hobj |
CallbackArea | Field for callback function to use | CallbackArea |
ConnectionArea | Field for callback function to use | ConnectionArea |
CompCode | Completion code | CompCode |
Reason | Reason code | Reason |
State | Indication of the state of the current consumer | State |
DataLength | Message length | DataLength |
BufferLength | Length of message buffer in bytes | BufferLength |
Flags | General flags | Flags |
Note: The remaining field is ignored if Version is less than MQCBC_VERSION_2 | ||
ReconnectDelay | Number of milliseconds before reconnection attempt | ReconnectDelay |
- Overview for MQCBC
- Fields for MQCBC
Alphabetic list of fields for the MQCBC structure. - Initial values and language declarations for MQCBC
Callback context structure - initial values
Parent topic: Data types used in the MQI