Packageeu.orangeflash.webapis.xmlrpc
Interfacepublic interface IClient extends flash.events.IEventDispatcher
ImplementorsClient, WP

Interface, instances of IClient lets you communicate to server



Public Properties
 PropertyDefined by
  lastResult : Object
[read-only] Stores last result from last invocation of Method.result event.
IClient
  serviceURL : String
Indicates service end point (i.e http://orangeflash.eu/xmlrpc.php).
IClient
Public Methods
 MethodDefined by
  
invoke(methodName:String, ... args):IMethodCall
Invokes method on server.
IClient
Events
 EventSummaryDefined by
   Dispatched when IClient recieves fault from server.IClient
   Dispatched when IClient invokes method call.IClient
   Dispatched when IClient recieves response from server.IClient
Property detail
lastResultproperty
lastResult:Object  [read-only]

Stores last result from last invocation of Method.result event.

Implementation
    public function get lastResult():Object
serviceURLproperty 
serviceURL:String  [read-write]

Indicates service end point (i.e http://orangeflash.eu/xmlrpc.php).

Implementation
    public function get serviceURL():String
    public function set serviceURL(value:String):void

Example
myClientImpl.serviceURL = "http://mysite.com/xmlrpc/";

Method detail
invoke()method
public function invoke(methodName:String, ... args):IMethodCall

Invokes method on server.

Parameters
methodName:String — String, method name.
 
... args — Rest, method arguments.

Returns
IMethodCall — IMethodCall instance.
Event detail
faultevent 
Event object type: eu.orangeflash.webapis.events.XMLRPCEvent

Dispatched when IClient recieves fault from server.

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

Dispatched when IClient invokes method call.

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

Dispatched when IClient recieves response from server.