Constructor
new TimedHandler()
PrivateConstructor: Strophe.TimedHandler Create and initialize a new Strophe.TimedHandler object.
Parameters: (Integer) period - The number of milliseconds to wait before the handler is called. (Function) handler - The callback to run when the handler fires. This function should take no arguments.
Returns: A new Strophe.TimedHandler object.
Methods
reset()
PrivateFunction: reset Reset the last called time for the Strophe.TimedHandler.
run()
PrivateFunction: run Run the callback for the Strophe.TimedHandler.
Returns: true if the Strophe.TimedHandler should be called again, and false otherwise.
toString()
PrivateFunction: toString Get a string representation of the Strophe.TimedHandler object.
Returns: The string representation.