Object methods (public)

void operator = ( const ImqTrigger & trigger );

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

ImqString applicationId( ) const ;

Returns a copy of the application id.

void setApplicationId( const char * id );

Sets the application id.

MQLONG applicationType( ) const ;

Returns the application type.

void setApplicationType( const MQLONG type );

Sets the application type.

ImqBoolean copyOut( MQTMC2 * ptmc2 );

Encapsulates the MQTM data structure, which is the one received on initiation queues. Fills in an equivalent MQTMC2 data structure provided by the caller, and sets the QMgrName field (which is not present in the MQTM data structure) to all blanks. The MQTMC2 data structure is traditionally used as a parameter to applications started by a trigger monitor. This method returns TRUE if successful.

ImqString environmentData( ) const ;

Returns a copy of the environment data.

void setEnvironmentData( const char * data );

Sets the environment data.

ImqString processName( ) const ;

Returns a copy of the process name.

void setProcessName( const char * name );

Sets the process name, padded with blanks to 48 characters.

ImqString queueName( ) const ;

Returns a copy of the queue name.

void setQueueName( const char * name );

Sets the queue name, padding with blanks to 48 characters.

ImqString triggerData( ) const ;

Returns a copy of the trigger data.

void setTriggerData( const char * data );

Sets the trigger data.

ImqString userData( ) const ;

Returns a copy of the user data.

void setUserData( const char * data );

Sets the user data.