Main Page | Packages | Class Tree | Index | Help

xp.services

class PendingCall

Object
  |
  +--xp.services.PendingCall


class PendingCall
extends Object

On each call to a Service object a PendingCall object is generated which manages dispatching results recieved from the server via the associated service. Once constructed the caller should assign a responder that will process the invocation results.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public
fault


public
result


Property Summary

public
methodName: String (read-only)
Retrieve the method name associated with his call *

public
responder: IResponder (read, write)
Gets/Sets the IResponder object that will process the results of the call.

public
service: IService (read-only)
Retrieve the service associated with his call *

Constructor

public
PendingCall ( service: IService, methodName: String)
Create a PendingCall object for a Service request.

Method Summary

public
toString ( ): String
about info



Field Documentation

fault

public var fault

result

public var result

Property Documentation

methodName

public methodName: String (read-only)
Retrieve the method name associated with his call *

responder

public responder: IResponder (read, write)
Gets/Sets the IResponder object that will process the results of the call.

service

public service: IService (read-only)
Retrieve the service associated with his call *


Constructor Documentation

PendingCall

public function PendingCall(service: IService,
 methodName: String)
Create a PendingCall object for a Service request.

The PendingCall Object is created with a reference to the requested Service. The PendingCall Object is responsible for setting up the IResponder and managing event handlers for Result/Fault.

Parameters:
service
srv The Service on which request has been made
methodName
The method to be invoked

Method Documentation

toString

public function toString(): String
about info


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc