MQIA_*, constants, MQIAV_UNDEFINED, MQCA_* constants, MQCA_*" />
Object methods (protected)
- virtual ImqBoolean closeTemporarily( );
- Closes an object safely before reopening. It returns TRUE if successful. This method assumes that the open status is TRUE.
- MQHCONN connectionHandle( ) const ;
- Returns the MQHCONN associated with the connection reference. This value is zero if there is no connection reference or if the Manager is not connected.
- ImqBoolean inquire( const MQLONG int-attr, MQLONG & value );
- Returns an integer value, the index of which is an MQIA_* value. In case of error, the value is set to MQIAV_UNDEFINED.
- ImqBoolean inquire( const MQLONG char-attr, char * & buffer, const size_t length );
- Returns a character string, the index of which is an MQCA_* value.
Note:Both the above methods return only a single attribute value. If a snapshot is required of more than one value, where the values are consistent with each other for an instant, WebSphere MQ C++ does not provide this facility and use the MQINQ call with appropriate parameters.- virtual void openInformationDisperse( );
- Disperses information from the variable section of the MQOD data structure immediately after an MQOPEN call.
- virtual ImqBoolean openInformationPrepare( );
- Prepares information for the variable section of the MQOD data structure immediately before an MQOPEN call, and returns TRUE if successful.
- ImqBoolean set( const MQLONG int-attr, const MQLONG value );
- Sets a WebSphere MQ integer attribute.
- ImqBoolean set( const MQLONG char-attr, const char * buffer, const size_t required-length );
- Sets a WebSphere MQ character attribute.
- void setNextManagedObject( const ImqObject * object = 0 );
- Sets the next managed object.
Attention: Use this function only if you are sure it will not break the managed object list.
- void setPreviousManagedObject( const ImqObject * object = 0 );
- Sets the previous managed object.
Attention: Use this function only if you are sure it will not break the managed object list.