X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/output/Ext.direct.PollingProvider.html?ds=sidebyside diff --git a/docs/output/Ext.direct.PollingProvider.html b/docs/output/Ext.direct.PollingProvider.html index 810284a2..5215d19c 100644 --- a/docs/output/Ext.direct.PollingProvider.html +++ b/docs/output/Ext.direct.PollingProvider.html @@ -1,40 +1,40 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Provider
    JsonProvider
      PollingProvider

Class Ext.direct.PollingProvider

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

Provides for repetitive polling of the server at distinct intervals. -The initial request for data originates from the client, and then is responded to by the -server.

-

All configurations for the PollingProvider should be generated by the server-side -API portion of the Ext.Direct stack.

-

An instance of PollingProvider may be created directly via the new keyword or by simply -specifying type = 'polling'. For example:

-
var pollA = new Ext.direct.PollingProvider({
-    type:'polling',
-    url: 'php/pollA.php',
-});
-Ext.Direct.addProvider(pollA);
-pollA.disconnect();
-
-Ext.Direct.addProvider(
-    {
-        type:'polling',
-        url: 'php/pollB.php',
-        id: 'pollB-provider'
-    }
-);
-var pollB = Ext.Direct.getProvider('pollB-provider');

Config Options

Config OptionsDefined By
 baseParams : Object
An object containing properties which are to be sent as parameters -on every polling request
PollingProvider
 interval : Number
How often to poll the server-side in milliseconds (defaults to 3000 - every -3 seconds).
PollingProvider