tibemsConsumerInfo_GetElapsedSinceLastSent

Function

Purpose

Get the approximate number of milliseconds elapsed since last time the server sent a message to this consumer.

C Declaration

tibems_status tibemsConsumerInfo_GetElapsedSinceLastSent(
    tibemsConsumerInfo consumerInfo,
    tibems_long* time);

COBOL Call

CALL "tibemsConsumerInfo_GetElapsedSinceLastSent"
 USING BY VALUE consumerInfo,
       BY REFERENCE time,
       RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
consumerInfo Get the milliseconds elapsed for this consumer.
time The function stores the elapsed milliseconds in this location.

Remarks

This function gets the approximate number of milliseconds that have elapsed since last time the server sent a message to this consumer. The value returned, while given in milliseconds, has a precision of 1 second. It should be used for informational purposes only.