Namespace: PP.Mb;
ServiceRequest
The ServiceRequest class is used to handle service requests.
PP.initClass(PP.Mb.ServiceRequest, PP.Object, "PP.Mb.ServiceRequest");
| Constructor name | Brief description | |
| ServiceRequest | The ServiceRequest constructor creates an instance of the ServiceRequest class. |
| 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. |
| 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. |
| 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. |
| Property name | Brief description | |
| The Id property determines a repository object identifier. |
| 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. | |
| 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. | |
| 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: