Object methods (public)
- void operator = ( const
ImqReferenceHeader & header );
- Copies instance data from header, replacing the existing instance
data.
- ImqString destinationEnvironment( ) const ;
- Returns a copy of the destination environment.
- void setDestinationEnvironment( const char * environment = 0 );
- Sets the destination environment.
- ImqString destinationName( ) const ;
- Returns a copy of the destination name.
- void setDestinationName( const char * name = 0 );
- Sets the destination name.
- ImqBinary instanceId( ) const ;
- Returns a copy of the instance id.
- ImqBoolean setInstanceId( const ImqBinary & id );
- Sets the instance id. The data
length of token must be either 0 or MQ_OBJECT_INSTANCE_ID_LENGTH.
This method returns TRUE if successful.
- void setInstanceId( const MQBYTE24 id = 0 );
- Sets the instance id. id can be zero,
which is the same as specifying MQOII_NONE. If id is nonzero, it
must address MQ_OBJECT_INSTANCE_ID_LENGTH bytes of binary data. When using
pre-defined values such as MQOII_NONE, you might need to make a cast to ensure
a signature match, for example (MQBYTE *)MQOII_NONE.
- MQLONG logicalLength( ) const ;
- Returns the logical length.
- void setLogicalLength( const MQLONG length );
- Sets the logical length.
- MQLONG logicalOffset( ) const ;
- Returns the logical offset.
- void setLogicalOffset( const MQLONG offset );
- Sets the logical offset.
- MQLONG logicalOffset2( ) const ;
- Returns the logical offset 2.
- void setLogicalOffset2( const MQLONG offset );
- Sets the logical offset 2.
- ImqString referenceType( ) const ;
- Returns a copy of the reference type.
- void setReferenceType( const char * name = 0 );
- Sets the reference type.
- ImqString sourceEnvironment( ) const ;
- Returns a copy of the source environment.
- void setSourceEnvironment( const char * environment = 0 );
- Sets the source environment.
- ImqString sourceName( ) const ;
- Returns a copy of the source name.
- void setSourceName( const char * name = 0 );
- Sets the source name.