Genesys CTI User Forum > Genesys CTI Technical Discussion

T event problem

(1/1)

george:
hi,
When I receive an event in the TEvent function of the TConnection object, I need to find out the timestamp attached to the event (AttributeTimeinSecs). What function will give me this information? I saw the functions for the TEventInfo class but couldnt find any suitable function.
Any solutions????

thanks
george

Peter:
The TEvent event passes a TEventInfo object. One of the properties of TEVentInfo object is TTimestamp which returns a TTimestampInfo object. TTimestampInfo object will provide you with both seconds and useconds.

george:
Hi Peter,
When I try to access TTimestampinfo, compiler gives an eror that ttimestampinfo is not a part of the class CTeventinfo. I have checked the header file event.h and there is no mention on anything like ttimestamp. Can you look up in your event.h file or the relevant class definition and if ttimestamp is there, can you paste that file in the reply??

Thanks
George

Navigation

[0] Message Index

Go to full version