tibrvcmTransport_SetDefaultCMTimeLimit()

Function

Declaration

tibrv_status tibrvcmTransport_SetDefaultCMTimeLimit(
    tibrvcmTransport   cmTransport,
    tibrv_f64           timeLimit);

Purpose

Set the default message time limit for all outbound certified messages from a transport.

Remarks

Every labeled message has a time limit, after which the sender no longer certifies delivery.

Sending programs can explicitly set the time limit on a message (see tibrvMsg_SetCMTimeLimit()). If a time limit is not already set for the outbound message, this function sets it to the transport’s default time limit (set with this function); if this default is not set for the transport, the default time limit is zero (no time limit).

Time limits represent the minimum time that certified delivery is in effect.

Parameter

Description

cmTransport

Set the default message time limit of this transport.

timeLimit

Use this time limit (in whole seconds). The time limit must be non-negative.

See Also

tibrvcmTransport_GetDefaultCMTimeLimit()

tibrvMsg_SetCMTimeLimit()