Object methods (public)

void operator = ( const ImqWorkHeader & header );
Copiesw instance data from header, replacing the existing instance data.
ImqBinary messageToken ( ) const;
Returns the message token.
ImqBoolean setMessageToken( const ImqBinary & token );
Sets the message token. The data length of token must be either zero or MQ_MSG_TOKEN_LENGTH. It returns TRUE if successful.
void setMessageToken( const MQBYTE16 token = 0 );
Sets the message token. token can be zero, which is the same as specifying MQMTOK_NONE. If token is nonzero, it must address MQ_MSG_TOKEN_LENGTH bytes of binary data.

When using predefined values such as MQMTOK_NONE, you might need make a cast to ensure a signature match; for example, (MQBYTE *)MQMTOK_NONE.

ImqString serviceName ( ) const;
Returns the service name, including trailing blanks.
void setServiceName( const char * name );
Sets the service name.
ImqString serviceStep ( ) const;
Returns the service step, including trailing blanks.
void setServiceStep( const char * step );
Sets the service step.