Object methods (public)

void operator = ( const ImqMessageTracker & tracker );

Copies instance data from tracker, replacing the existing instance data.

ImqBinary accountingToken( ) const ;

Returns a copy of the accounting token.

ImqBoolean setAccountingToken( const ImqBinary & token );

Sets the accounting token. The data length of token must be either zero or MQ_ACCOUNTING_TOKEN_LENGTH. This method returns TRUE if successful.

void setAccountingToken( const MQBYTE32 token = 0 );

Sets the accounting token. token can be zero, which is the same as specifying MQACT_NONE. If token is nonzero, it must address MQ_ACCOUNTING_TOKEN_LENGTH bytes of binary data. When using predefined values such as MQACT_NONE, you might need to make a cast to ensure a signature match; for example, (MQBYTE *)MQACT_NONE.

ImqBinary correlationId( ) const ;

Returns a copy of the correlation id.

ImqBoolean setCorrelationId( const ImqBinary & token );

Sets the correlation id. The data length of token must be either zero or MQ_CORREL_ID_LENGTH. This method returns TRUE if successful.

void setCorrelationId( const MQBYTE24 id = 0 );

Sets the correlation id. id can be zero, which is the same as specifying MQCI_NONE. If id is nonzero, it must address MQ_CORREL_ID_LENGTH bytes of binary data. When using predefined values such as MQCI_NONE, you might need to make a cast to ensure a signature match; for example, (MQBYTE *)MQCI_NONE.

MQLONG feedback( ) const ;

Returns the feedback.

void setFeedback( const MQLONG feedback );

Sets the feedback.

ImqBinary groupId( ) const ;

Returns a copy of the group id.

ImqBoolean setGroupId( const ImqBinary & token );

Sets the group id. The data length of token must be either zero or MQ_GROUP_ID_LENGTH. This method returns TRUE if successful.

void setGroupId( const MQBYTE24 id = 0 );

Sets the group id. id can be zero, which is the same as specifying MQGI_NONE. If id is nonzero, it must address MQ_GROUP_ID_LENGTH bytes of binary data. When using predefined values such as MQGI_NONE, you might need to make a cast to ensure a signature match, for example (MQBYTE *)MQGI_NONE.

ImqBinary messageId( ) const ;

Returns a copy of the message id.

ImqBoolean setMessageId( const ImqBinary & token );

Sets the message id. The data length of token must be either zero or MQ_MSG_ID_LENGTH. This method returns TRUE if successful.

void setMessageId( const MQBYTE24 id = 0 );

Sets the message id. id can be zero, which is the same as specifying MQMI_NONE. If id is nonzero, it must address MQ_MSG_ID_LENGTH bytes of binary data. When using predefined values such as MQMI_NONE, you might need to make a cast to ensure a signature match, for example (MQBYTE *)MQMI_NONE.