ServiceRequest

Namespace: PP.Mb;

Inheritance Hierarchy

Object

ServiceRequest

Description

The ServiceRequest class is used to handle service requests.

Syntax

PP.initClass(PP.Mb.ServiceRequest, PP.Object, "PP.Mb.ServiceRequest");

Constructor

  Constructor name Brief description
ServiceRequest The ServiceRequest constructor creates an instance of the ServiceRequest class.

Properties

  Property name Brief description
BackgroundRequestTimeout The BackgroundRequestTimeout property determines delay before displaying a loading indicator for background requests.
HideWaiterTimeout The HideWaiterTimeout property determines delay before hiding a loading indicator after getting a response.
Service The Service property determines a service.
ShowWaiter The ShowWaiter property determines whether a loading indicator is displayed.
ShowWaiterTimeout The ShowWaiterTimeout property determines delay before displaying a loading indicator.
Waiter The Waiter property determines a loading indicator.

Methods

  Method name Brief description
clearRequests The clearRequests method clears queued repository requests and the current request.
endRequest The endRequest method finishes the current repository request.

Events

  Event name Brief description
EndRequest The EndRequest event occurs on finishing the service connection.
Error The Error event occurs if an error occurs during service connection.
Executed The Executed event occurs after executing a service request.
StartRequest The StartRequest event occurs when the system starts executing a service request.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getId The getId method returns repository object identifier.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setId The setId method determines a repository object identifier.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP.Mb