public static class TimerWrap.TimerImpl extends Referenceable implements ScriptTask
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
| Constructor and Description |
|---|
TimerWrap.TimerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
execute(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope) |
String |
getClassName() |
Object |
getDomain() |
org.mozilla.javascript.Function |
getTimeout() |
static Object |
newTimerImpl(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function fn,
boolean isNew) |
static Object |
now(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function fun)
This is called by the "timer" module to get a timestamp efficiently that won't change until
the next time that we go through the loop.
|
void |
setDomain(Object d) |
void |
setTimeout(org.mozilla.javascript.Function f) |
static int |
start(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
clearErrno, clearPin, getRunner, getRunner, ref, requestPin, setErrno, setErrno, unrefapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASS_NAME
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class Referenceable@JSConstructor public static Object newTimerImpl(org.mozilla.javascript.Context cx, Object[] args, org.mozilla.javascript.Function fn, boolean isNew)
@JSStaticFunction public static Object now(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function fun)
@JSGetter(value="ontimeout") public org.mozilla.javascript.Function getTimeout()
@JSSetter(value="ontimeout") public void setTimeout(org.mozilla.javascript.Function f)
@JSGetter(value="domain") public Object getDomain()
@JSSetter(value="domain") public void setDomain(Object d)
@JSFunction
public static int start(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction public void close()
close in class Referenceablepublic void execute(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope)
execute in interface ScriptTaskCopyright © 2016 Apigee Corporation. All Rights Reserved.