Object methods (public)
- void operator = ( const ImqGetMessageOptions & gmo );
- Copies instance data from gmo, replacing the existing instance data.
- MQCHAR groupStatus( ) const ;
- Returns the group status.
- void setGroupStatus( const MQCHAR status );
- Sets the group status.
- MQLONG matchOptions( ) const ;
- Returns the match options.
- void setMatchOptions( const MQLONG options );
- Sets the match options.
- 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. This method 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, then it must address MQ_MSG_TOKEN_LENGTH bytes of binary data.
When using predefined values, such as MQMTOK_NONE, you might not need to make a cast to ensure a signature match, for example (MQBYTE *)MQMTOK_NONE.
- MQLONG options( ) const ;
- Returns the options.
- void setOptions( const MQLONG options );
- Sets the options, including the syncpoint participation value.
- ImqString resolvedQueueName( ) const ;
- Returns a copy of the resolved queue name.
- MQLONG returnedLength( ) const;
- Returns the returned length.
- MQCHAR segmentation( ) const ;
- Returns the segmentation.
- void setSegmentation( const MQCHAR value );
- Sets the segmentation.
- MQCHAR segmentStatus( ) const ;
- Returns the segment status.
- void setSegmentStatus( const MQCHAR status );
- Sets the segment status.
- ImqBoolean syncPointParticipation( ) const ;
- Returns the syncpoint participation value, which is TRUE if the options include either MQGMO_SYNCPOINT or MQGMO_SYNCPOINT_IF_PERSISTENT.
- void setSyncPointParticipation( const ImqBoolean sync );
- Sets the syncpoint participation value. If sync is TRUE, alters the options to include MQGMO_SYNCPOINT, and to exclude both MQGMO_NO_SYNCPOINT and MQGMO_SYNCPOINT_IF_PERSISTENT. If sync is FALSE, alters the options to include MQGMO_NO_SYNCPOINT, and to exclude both MQGMO_SYNCPOINT and MQGMO_SYNCPOINT_IF_PERSISTENT.
- MQLONG waitInterval( ) const ;
- Returns the wait interval.
- void setWaitInterval( const MQLONG interval );
- Sets the wait interval.