tibrvcmTransportOnComplete

Function Type

Declaration

typedef void (*tibrvcmTransportOnComplete) (
    tibrvcmTransport    destroyedTransport,
    void*               closure);

Purpose

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

Remarks

After calling the extended destroy function, 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 function runs, the transport is already destroyed; this function cannot use the transport object in Rendezvous calls.

closure

This parameter receives the closure data, which the program supplied to tibrvcmTransport_DestroyEx().

See Also

tibrvcmTransport_Destroy()