CIRCServer.onParsedData Member

onParsedData forwards to next event, based on e.code

Syntax

object.onParsedData(e);

Arguments

ArgumentSummary
e

Returns

Remarks

See Also

Source Code

function serv_onParsedData(e)
{
e.type = this.toLowerCase(e.code);
if (!e.code[0])
{
dd (dumpObjectTree (e));
return false;
}
e.destMethod = "on" + e.code[0].toUpperCase() +
e.code.substr (1, e.code.length).toLowerCase();
if (typeof this[e.destMethod] == "function")
e.destObject = this;
else if (typeof this["onUnknown"] == "function")
e.destMethod = "onUnknown";
else if (typeof this.parent[e.destMethod] == "function")
{
e.set = "network";
e.destObject = this.parent;
}
else
{
e.set = "network";
e.destObject = this.parent;
e.destMethod = "onUnknown";
}
return true;
}