version 1.0

com.actimind.actiwate.testing.events
Interface IntervalAsyncEvent

All Superinterfaces:
AsyncEvent

public interface IntervalAsyncEvent
extends AsyncEvent

Async event created by setInterval() javascript method call.
Time offset for timeout async event is set using the time offset value specified in setInterval() 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 interval's timer id.
 
Methods inherited from interface com.actimind.actiwate.testing.events.AsyncEvent
getOriginatingNode, getPage, getTimeOffset, getType, isCancelled, isExecuted
 

Method Detail

getJSTimerId

public long getJSTimerId()
Returns interval's timer id. Each call to setInterval() javascript method on a page will return a different timer id.

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

getJSHandler

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

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


Copyright © 2007 Actimind, Inc. All Rights Reserved.