Documentation in progress: please use the 3.4 Reference Manual.

Name

netremotecall

Synopsis

LZX: netremotecall
JavaScript: lz.netremotecall
Type: Class
Access: public
Topic: Extensions.Audio-Video
Declared in: lps/components/extensions/av/rtmpconnection.lzx

Description

Net remote call.

Superclass Chain

node (LzNode) » netremotecall

Known Subclasses

Details

Properties (3)

dataobject
<attribute name="dataobject" value="null" />
public var dataobject;
funcname
<attribute name="funcname" type="string" value="$once{null}" />
public var funcname : String;
Name of the remote function.
remotecontext
<attribute name="remotecontext" value="null" />
public var remotecontext;

Methods (2)

call()
<method name="call" args="params" />
public function call(params);
Call the remote method, passing the array of params.
onResult()
<method name="onResult" args="value" />
public function onResult(value);
Handle the result returned from the remote method.

Events (2)

ondata
<attribute name="ondata" />
public event ondata;
Data handling event.
onerror
<attribute name="onerror" />
public event onerror;
Error handling event.

LZX Synopsis

<class name="lz.netremotecall" extends=" LzNode ">
  <attribute name=" dataobject " value="null" />
  <attribute name=" funcname " type="string" value="$once{null}" />
  <attribute name=" remotecontext " value="null" />
  <method name=" call " args="params" />
  <event name=" ondata " />
  <event name=" onerror " />
  <method name=" onResult " args="value" />
</class>

JavaScript Synopsis

public lz.netremotecall extends  LzNode  {
  public var dataobject ;
  public var funcname  : String;
  public var remotecontext ;
  prototype public function call (params);
  prototype public event ondata ;
  prototype public event onerror ;
  prototype public function onResult (value);
}