Observable
  Provider
    JsonProvider
      RemotingProvider

Class Ext.direct.RemotingProvider

Package:Ext.direct
Defined In:RemotingProvider.js
Class:RemotingProvider
Extends:JsonProvider

The RemotingProvider exposes access to server side methods on the client (a remote procedure call (RPC) type of connection where the client can initiate a procedure on the server).

This allows for code to be organized in a fashion that is maintainable, while providing a clear path between client and server, something that is not always apparent when using URLs.

To accomplish this the server-side needs to describe what classes and methods are available on the client-side. This configuration will typically be outputted by the server-side Ext.Direct stack when the API description is built.

Config Options

Config OptionsDefined By
 enableUrlEncode : String
Specify which param will hold the arguments for the method. Defaults to 'data'.
RemotingProvider
 maxRetries : Number
Number of times to re-attempt delivery on failure of a call. Defaults to 1.
RemotingProvider
 timeout : Number
The timeout to use for each request. Defaults to undefined.
RemotingProvider
 url : String
Required. The url to connect to the Ext.Direct server-side router.
RemotingProvider

Public Properties

PropertyDefined By
 connect : Object
Abstract methods for subclasses to implement.
Provider
 disconnect : Object
Abstract methods for subclasses to implement.
Provider

Public Methods

MethodDefined By

Public Events

EventDefined By