StreamListener.onDataAvailable Member

Syntax

object.onDataAvailable(request, ctxt, inStr, sourceOffset, count);

Arguments

ArgumentSummary
request
ctxt
inStr
sourceOffset
count

Returns

Remarks

See Also

Source Code

function sl_dataavail (request, ctxt, inStr, sourceOffset, count)
{
ctxt = ctxt.wrappedJSObject;
if (!ctxt)
{
dd ("*** Can't get wrappedJSObject from ctxt in " +
"StreamListener.onDataAvailable ***");
return;
}
if (!("_sInputStream" in ctxt))
ctxt._sInputStream = toSInputStream(inStr, false);
if (this._observer)
this._observer.onStreamDataAvailable(request, inStr, sourceOffset,
count);
}