Packageeu.orangeflash.webapis.xmlrpc
Interfacepublic interface IMethodCall extends flash.events.IEventDispatcher
ImplementorsMethodCall, WPMethod

Interface, IMethodCall instances are representation of method invoked on remote server. It is suggested, that you do not create them manualy, use IClient.invokeMethod instead.



Public Properties
 PropertyDefined by
  client : IClient
Property, indicates IClient instance.
IMethodCall
  data : Object
[read-only] Property Read-Only, returns raw data recieved from URLLoader.load() request.
IMethodCall
  methodName : String
Property, indicates methodName on remote server.
IMethodCall
  params : Array
Property, collection of arguments.
IMethodCall
  response : IMethodResponse
[read-only] Property Read-Only, returns reference to IMethodResponse instance generated on response.
IMethodCall
  result : Array
[read-only] Property[Read-Only], reference to result.
IMethodCall
Public Methods
 MethodDefined by
  
invoke(methodName:String = null, params:Array = null):void
IMethodCall
Events
 EventSummaryDefined by
   Dispatched when IMethodCall recieves fault from server.IMethodCall
   Dispatched when IMethodCall invokes method call.IMethodCall
   Dispatched when IMethodCall recieves response from server.IMethodCall
Property detail
clientproperty
client:IClient  [read-write]

Property, indicates IClient instance.

Implementation
    public function get client():IClient
    public function set client(value:IClient):void
dataproperty 
data:Object  [read-only]

Property Read-Only, returns raw data recieved from URLLoader.load() request.

Implementation
    public function get data():Object
methodNameproperty 
methodName:String  [read-write]

Property, indicates methodName on remote server.

Implementation
    public function get methodName():String
    public function set methodName(value:String):void
paramsproperty 
params:Array  [read-write]

Property, collection of arguments.

Implementation
    public function get params():Array
    public function set params(value:Array):void
responseproperty 
response:IMethodResponse  [read-only]

Property Read-Only, returns reference to IMethodResponse instance generated on response.

Implementation
    public function get response():IMethodResponse
resultproperty 
result:Array  [read-only]

Property[Read-Only], reference to result.

Implementation
    public function get result():Array
Method detail
invoke()method
public function invoke(methodName:String = null, params:Array = null):voidParameters
methodName:String (default = null)
 
params:Array (default = null)
Event detail
faultevent 
Event object type: eu.orangeflash.webapis.events.XMLRPCEvent

Dispatched when IMethodCall recieves fault from server.

invokeevent  
Event object type: eu.orangeflash.webapis.events.XMLRPCEvent

Dispatched when IMethodCall invokes method call.

resultevent  
Event object type: eu.orangeflash.webapis.events.XMLRPCEvent

Dispatched when IMethodCall recieves response from server.