version 1.0

com.actimind.actiwate.core.scripting
Class XmlHttpRequestConfig

java.lang.Object
  extended bycom.actimind.actiwate.core.scripting.XmlHttpRequestConfig

public class XmlHttpRequestConfig
extends java.lang.Object

Configuration for the XmlHttpRequest async events.


Constructor Summary
XmlHttpRequestConfig(int loadingStateOffset, int loadedStateOffset, int interactiveStateOffset, int completedStateOffset)
          Creates new XmlHttpRequestConfig.
 
Method Summary
 int getCompletedStateOffset()
          Returns offset for the COMPLETED state event.
 int getInteractiveStateOffset()
          Returns offset for the INTERACTIVE state event.
 int getLoadedStateOffset()
          Returns offset for the LOADED state event.
 int getLoadingStateOffset()
          Returns offset for the LOADING state event.
 void setCompletedStateOffset(int completedStateOffset)
          Sets offset for the COMPLETED state event.
 void setInteractiveStateOffset(int interactiveStateOffset)
          Sets offset for the INTERACTIVE state event.
 void setLoadedStateOffset(int loadedStateOffset)
          Sets offset for the LOADED state event.
 void setLoadingStateOffset(int loadingStateOffset)
          Sets offset for the LOADING state event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHttpRequestConfig

public XmlHttpRequestConfig(int loadingStateOffset,
                            int loadedStateOffset,
                            int interactiveStateOffset,
                            int completedStateOffset)
Creates new XmlHttpRequestConfig.

Parameters:
loadingStateOffset - offset in milliseconds for the LOADING state event.
loadedStateOffset - offset in milliseconds for the LOADED state event.
interactiveStateOffset - offset in milliseconds for the INTERACTIVE state event.
completedStateOffset - offset in milliseconds for the COMPLETED state event.
Method Detail

getLoadingStateOffset

public int getLoadingStateOffset()
Returns offset for the LOADING state event.

Returns:
offset in milliseconds for the LOADING state event.

setLoadingStateOffset

public void setLoadingStateOffset(int loadingStateOffset)
Sets offset for the LOADING state event.

Parameters:
loadingStateOffset - offset in milliseconds for the LOADING state event.

getLoadedStateOffset

public int getLoadedStateOffset()
Returns offset for the LOADED state event.

Returns:
offset in milliseconds for the LOADED state event.

setLoadedStateOffset

public void setLoadedStateOffset(int loadedStateOffset)
Sets offset for the LOADED state event.

Parameters:
loadedStateOffset - offset in milliseconds for the LOADED state event.

getInteractiveStateOffset

public int getInteractiveStateOffset()
Returns offset for the INTERACTIVE state event.

Returns:
offset in milliseconds for the INTERACTIVE state event.

setInteractiveStateOffset

public void setInteractiveStateOffset(int interactiveStateOffset)
Sets offset for the INTERACTIVE state event.

Parameters:
interactiveStateOffset - offset in milliseconds for the INTERACTIVE state event.

getCompletedStateOffset

public int getCompletedStateOffset()
Returns offset for the COMPLETED state event.

Returns:
offset in milliseconds for the COMPLETED state event.

setCompletedStateOffset

public void setCompletedStateOffset(int completedStateOffset)
Sets offset for the COMPLETED state event.

Parameters:
completedStateOffset - offset in milliseconds for the COMPLETED state event.


Copyright © 2007 Actimind, Inc. All Rights Reserved.