TibrvCmTransportOnComplete::onComplete

Method

Declaration

virtual void onComplete(
    TibrvCmTransport* destroyedTransport) = 0;

Purpose

Destroying a CM or CMQ transport involves cleanup operations that can sometimes be lengthy. Programs can define this method to discover when the cleanup has completed.

Remarks

Programs must not destroy the transport’s listeners, nor any queue nor dispatcher that pertains to the transport, until after this callback signals that cleanup has completed.

Parameter

Description

destroyedTransport

This parameter receives the transport object.

However, by the time this method runs, the transport is already destroyed; this method cannot use the transport object in Rendezvous calls.

See Also

TibrvCmTransport::destroy()