TibrvCmMsg.setTimeLimit()
Method
Declaration
static final voidsetTimeLimit
(
TibrvMsg msg,
double timeLimit)
throws TibrvException
Purpose
Set the message time limit of a certified message.
Remarks
Every labeled message has a time limit, after which the sender no longer certifies delivery.
Sending programs can explicitly set the message time limit using this method. If a time limit is not already set for the outbound message, TibrvCmTransport.send() sets it to the transport’s default time limit (see TibrvCmTransport.setDefaultTimeLimit()); if that 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.
It is meaningless for receiving programs to call this method.
Parameter |
Description |
|
Set the time limit of this message. |
|
Use this time limit (in whole seconds) for the message. The time limit must be non-negative. |
See Also
TibrvCmTransport.getDefaultTimeLimit()
TibrvCmTransport.setDefaultTimeLimit()