version 1.0

com.actimind.actiwate.testing.events
Interface TimeoutAsyncEvent

All Superinterfaces:
AsyncEvent

public interface TimeoutAsyncEvent
extends AsyncEvent

Async event created by setTimeout() javascript method call.
Time offset for timeout async event is set using the time offset value specified in setTimeout() javascript method call.
Timeout async events can be distinguished using getJSTimerId() and getJSHandler() methods.


Field Summary
 
Fields inherited from interface com.actimind.actiwate.testing.events.AsyncEvent
INTERVAL, METAREFRESH, TIMEOUT, XMLHTTPREQUEST
 
Method Summary
 java.lang.String getJSHandler()
          Returns intervals's handler.
 long getJSTimerId()
          Returns timeout's timer id returned by setTimeout() javascript method call.
 
Methods inherited from interface com.actimind.actiwate.testing.events.AsyncEvent
getOriginatingNode, getPage, getTimeOffset, getType, isCancelled, isExecuted
 

Method Detail

getJSTimerId

public long getJSTimerId()
Returns timeout's timer id returned by setTimeout() javascript method call. Each call to setTimeout() javascript method on a page will return a different timer id.

Returns:
timer id returned by setTimeout() javascript method call.

getJSHandler

public java.lang.String getJSHandler()
Returns intervals's handler.

Returns:
handler name if it is specified in setTimeout() javascript method call or handler source if it is specified in setTimeout() javascript method call.


Copyright © 2007 Actimind, Inc. All Rights Reserved.