Starts the timer handling.
Suppose you have the following class definition.
open method void THandler(dictionary dic)
... // timer handler code.
Usage of the OneShot() method is as follows.
handle h = new handle();
timer tim = new timer(h,"THandler(dictionary)", 1000);
tim.OneShot(); // The handler method will be called just once.
Calls the handler method only once after the set time has elapsed.
Timer handling stops after the call.
If this method is already called, re-call will be ignored.
Links for reference