public static class JavaStreamWrap.StreamWrapImpl extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected int |
byteCount |
static String |
CLASS_NAME |
protected ScriptRunner |
runtime |
| Modifier | Constructor and Description |
|---|---|
|
JavaStreamWrap.StreamWrapImpl() |
protected |
JavaStreamWrap.StreamWrapImpl(Handle handle,
ScriptRunner runtime) |
| Modifier and Type | Method and Description |
|---|---|
static void |
close(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static Object |
construct(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr) |
int |
getByteCount() |
String |
getClassName() |
org.mozilla.javascript.Function |
getOnRead() |
int |
getWriteQueueSize() |
protected void |
onRead(int err,
ByteBuffer buf) |
void |
readStart() |
void |
readStop() |
void |
setOnRead(org.mozilla.javascript.Function r) |
static Object |
writeAsciiString(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static Object |
writeBuffer(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
protected void |
writeComplete(int err,
int len,
org.mozilla.javascript.Scriptable req) |
static Object |
writeUcs2String(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static Object |
writeUtf8String(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
clearErrno, clearPin, close, 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
protected int byteCount
protected ScriptRunner runtime
public JavaStreamWrap.StreamWrapImpl()
protected JavaStreamWrap.StreamWrapImpl(Handle handle, ScriptRunner runtime)
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class Referenceable@JSConstructor public static Object construct(org.mozilla.javascript.Context cx, Object[] args, org.mozilla.javascript.Function ctorObj, boolean inNewExpr)
@JSGetter(value="bytes") public int getByteCount()
@JSGetter(value="writeQueueSize") public int getWriteQueueSize()
@JSSetter(value="onread") public void setOnRead(org.mozilla.javascript.Function r)
@JSGetter(value="onread") public org.mozilla.javascript.Function getOnRead()
@JSFunction
public static void close(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction public static Object writeBuffer(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function func)
@JSFunction public static Object writeUtf8String(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function func)
@JSFunction public static Object writeAsciiString(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function func)
@JSFunction public static Object writeUcs2String(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function func)
protected void writeComplete(int err,
int len,
org.mozilla.javascript.Scriptable req)
@JSFunction public void readStart()
@JSFunction public void readStop()
protected void onRead(int err,
ByteBuffer buf)
Copyright © 2016 Apigee Corporation. All Rights Reserved.