TIBCO Adapter SDK C++ Reference
MTimer Methods
MTimer | Legend
Methods
Method Description
activate Activate this timer. An active timer polls, either once only or at the specified intervals.

If you create a nonrepeating timer, you can call this method to trigger it once.

addListener Adds an event listener to this timer.
deactivate Deactivate this timer. A deactivated timer stops polling.
downCast Performs safe cast operation. See MComponent::downCast().
downCast Performs safe cast operation. See MComponent::downCast().
getClassName Return the char* "MTimer".
getDescription Return the description of this timer event.
getSessionName Return the name of the session with which this MTimer is associated.
getTimerInterval Return the interval for this MTimer.
isRepeating Return true if this is a repeating timer; false otherwise.
MTimer Constructor for creating MTimer instances. This constructor should be used only for a TIBCO Rendezvous session to create the timer using the specified session.

The timer is started as soon as the MTimer instance is constructed. Applications can deactivate the MTimer by calling MTimer::deactivate().

MTimer Constructor for creating MTimer instances. This constructor is not associated with any sessions. By default the timer is started as soon as the MTimer instance is constructed. If you do not want to activate the timer set bMustActivate to false . Applications can deactivate the MTimer by calling MTimer::deactivate().
setTimerInterval Resets this timer and restarts it with the specified interval.
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.