Clear Up
SharpKit Reference

PollingProvider Class

Namespace: Ext.direct

Base Types

System.Object

Constructors

Name Description
PollingProvider()
PollingProvider(PollingProviderConfig)
PollingProvider(object) @cfg {String/Function} url The url which the PollingProvider should contact with each request. This can also be an imported Ext.Direct method which will accept the baseParams as its only argument.

Properties

Name Description
alias
extend Begin Definitions
interval @cfg {Number} interval How often to poll the server-side in milliseconds (defaults to 3000 - every 3 seconds).

Methods

Name Description
connect() Connect to the server-side and begin the polling process. To handle each response subscribe to the data event.
disconnect() Disconnect from the server-side and stop the polling process. The disconnect event will be fired on a successful disconnect.
isConnected()
onData(object, object, object)
© Copyright 2005-2011 SharpKit. All rights reserved.