TibrvCmMsg::getTimeLimit()
Method
Declaration
static TibrvStatusgetTimeLimit
(
TibrvMsg& msg,
tibrv_f64& timeLimit);
Purpose
Extract the message time limit from a certified message.
Remarks
Programs can explicitly set the message time limit (see TibrvCmMsg::setTimeLimit()).
Zero is a special value, indicating no time limit.
If a time limit is not set for a message, this method returns the status code TIBRV_NOT_FOUND. This situation can occur only for unsent outbound messages, and for inbound unlabeled messages.
Time limits represent the minimum time that certified delivery is in effect.
This value represents the total time limit of the message, not the time remaining.
Parameter |
Description |
|
Extract the time limit from this message. |
|
The program supplies a variable. The method stores the time limit in that variable. |