PendingCall Class

Class com.probertson.xmlrpc.PendingCall

Inheritance > PendingCall

The PendingCall is returned by any Service Class remote method. It does not contain the result of the remote method call; rather it provides a way for the developer to access the result by assigning a value to the PendingCall.responder property.
Constructor Summary
 internal  
 PendingCall(service:ServiceBase, methodName:String)
Creates a new PendingCall instance.
Property Summary
 String 
Gets the name of the remote method which was called and associated with this instance.
 Responder 
Gets or sets the mx.rpc.Responder instance which designates the mechanism for result or fault values to be returned.
Method Summary
 internal Void 
 onResult(result:Object)
Channels remote method call results to the mx.rpc.Responder set as the PendingCall.responder property of this instance.
 internal Void 
Channels remote method call errors to the mx.rpc.Responder set as the PendingCall.responder property of this instance.
Constructor Detail
PendingCall
internal function PendingCall(service:ServiceBase, methodName:String)
Creates a new PendingCall instance. Generally this will be called by Service Class instances rather than developers creating PendingCall instances directly.
Parameters:
service
The ServiceBase Class (service) to which the call is to be made.
methodName
The name of the remote method to call.
Property Detail
methodName
public function get methodName():String
Gets the name of the remote method which was called and associated with this instance.
responder
public function get/set responder():Responder
Gets or sets the mx.rpc.Responder instance which designates the mechanism for result or fault values to be returned.
Method Detail
onResult
internal function onResult(result:Object):Void
Channels remote method call results to the mx.rpc.Responder set as the PendingCall.responder property of this instance.
onStatus
internal function onStatus(fault:XmlRpcFault):Void
Channels remote method call errors to the mx.rpc.Responder set as the PendingCall.responder property of this instance.



Documentation generated by BLDoc Community Edition from B-Line Express.