-<html>\r
-<head>\r
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
- <title>The source code</title>\r
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js"><div id="cls-Ext.direct.Provider"></div>/**\r
- * @class Ext.direct.Provider\r
- * @extends Ext.util.Observable\r
- * <p>Ext.direct.Provider is an abstract class meant to be extended.</p>\r
- * \r
- * <p>For example ExtJs implements the following subclasses:</p>\r
- * <pre><code>\r
-Provider\r
-|\r
-+---{@link Ext.direct.JsonProvider JsonProvider} \r
- |\r
- +---{@link Ext.direct.PollingProvider PollingProvider} \r
- |\r
- +---{@link Ext.direct.RemotingProvider RemotingProvider} \r
- * </code></pre>\r
- * @abstract\r
- */\r
-Ext.direct.Provider = Ext.extend(Ext.util.Observable, { \r
- <div id="cfg-Ext.direct.Provider-id"></div>/**\r
- * @cfg {String} id\r
- * The unique id of the provider (defaults to an {@link Ext#id auto-assigned id}).\r
- * You should assign an id if you need to be able to access the provider later and you do\r
- * not have an object reference available, for example:\r
- * <pre><code>\r
-Ext.Direct.addProvider(\r
- {\r
- type: 'polling',\r
- url: 'php/poll.php',\r
- id: 'poll-provider'\r
- }\r
-);\r
- \r
-var p = {@link Ext.Direct Ext.Direct}.{@link Ext.Direct#getProvider getProvider}('poll-provider');\r
-p.disconnect();\r
- * </code></pre>\r
- */\r
- \r
- <div id="cfg-Ext.direct.Provider-priority"></div>/**\r
- * @cfg {Number} priority\r
- * Priority of the request. Lower is higher priority, <tt>0</tt> means "duplex" (always on).\r
- * All Providers default to <tt>1</tt> except for PollingProvider which defaults to <tt>3</tt>.\r
- */ \r
- priority: 1,\r
-\r
- <div id="cfg-Ext.direct.Provider-type"></div>/**\r
- * @cfg {String} type\r
- * <b>Required</b>, <tt>undefined</tt> by default. The <tt>type</tt> of provider specified\r
- * to {@link Ext.Direct Ext.Direct}.{@link Ext.Direct#addProvider addProvider} to create a\r
- * new Provider. Acceptable values by default are:<div class="mdetail-params"><ul>\r
- * <li><b><tt>polling</tt></b> : {@link Ext.direct.PollingProvider PollingProvider}</li>\r
- * <li><b><tt>remoting</tt></b> : {@link Ext.direct.RemotingProvider RemotingProvider}</li>\r
- * </ul></div>\r
- */ \r
- \r
- // private\r
- constructor : function(config){\r
- Ext.apply(this, config);\r
- this.addEvents(\r
- <div id="event-Ext.direct.Provider-connect"></div>/**\r
- * @event connect\r
- * Fires when the Provider connects to the server-side\r
- * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.\r
- */ \r
- 'connect',\r
- <div id="event-Ext.direct.Provider-disconnect"></div>/**\r
- * @event disconnect\r
- * Fires when the Provider disconnects from the server-side\r
- * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.\r
- */ \r
- 'disconnect',\r
- <div id="event-Ext.direct.Provider-data"></div>/**\r
- * @event data\r
- * Fires when the Provider receives data from the server-side\r
- * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.\r
- * @param {event} e The {@link Ext.Direct#eventTypes Ext.Direct.Event type} that occurred.\r
- */ \r
- 'data',\r
- <div id="event-Ext.direct.Provider-exception"></div>/**\r
- * @event exception\r
- * Fires when the Provider receives an exception from the server-side\r
- */ \r
- 'exception'\r
- );\r
- Ext.direct.Provider.superclass.constructor.call(this, config);\r
- },\r
-\r
- <div id="method-Ext.direct.Provider-isConnected"></div>/**\r
- * Returns whether or not the server-side is currently connected.\r
- * Abstract method for subclasses to implement.\r
- */\r
- isConnected: function(){\r
- return false;\r
- },\r
-\r
- <div id="prop-Ext.direct.Provider-connect"></div>/**\r
- * Abstract methods for subclasses to implement.\r
- */\r
- connect: Ext.emptyFn,\r
- \r
- <div id="prop-Ext.direct.Provider-disconnect"></div>/**\r
- * Abstract methods for subclasses to implement.\r
- */\r
- disconnect: Ext.emptyFn\r
-});\r
-</pre> \r
-</body>\r
-</html>
\ No newline at end of file
+<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-direct.Provider'>/**
+</span> * @class Ext.direct.Provider
+ * <p>Ext.direct.Provider is an abstract class meant to be extended.</p>
+ *
+ * <p>For example ExtJs implements the following subclasses:</p>
+ * <pre><code>
+Provider
+|
++---{@link Ext.direct.JsonProvider JsonProvider}
+ |
+ +---{@link Ext.direct.PollingProvider PollingProvider}
+ |
+ +---{@link Ext.direct.RemotingProvider RemotingProvider}
+ * </code></pre>
+ * @abstract
+ */
+Ext.define('Ext.direct.Provider', {
+
+ /* Begin Definitions */
+
+ alias: 'direct.provider',
+
+ mixins: {
+ observable: 'Ext.util.Observable'
+ },
+
+ /* End Definitions */
+
+<span id='Ext-direct.Provider-cfg-id'> /**
+</span> * @cfg {String} id
+ * The unique id of the provider (defaults to an {@link Ext#id auto-assigned id}).
+ * You should assign an id if you need to be able to access the provider later and you do
+ * not have an object reference available, for example:
+ * <pre><code>
+Ext.direct.Manager.addProvider({
+ type: 'polling',
+ url: 'php/poll.php',
+ id: 'poll-provider'
+});
+var p = {@link Ext.direct.Manager}.{@link Ext.direct.Manager#getProvider getProvider}('poll-provider');
+p.disconnect();
+ * </code></pre>
+ */
+
+ constructor : function(config){
+ var me = this;
+
+ Ext.apply(me, config);
+ me.addEvents(
+<span id='Ext-direct.Provider-event-connect'> /**
+</span> * @event connect
+ * Fires when the Provider connects to the server-side
+ * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.
+ */
+ 'connect',
+<span id='Ext-direct.Provider-event-disconnect'> /**
+</span> * @event disconnect
+ * Fires when the Provider disconnects from the server-side
+ * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.
+ */
+ 'disconnect',
+<span id='Ext-direct.Provider-event-data'> /**
+</span> * @event data
+ * Fires when the Provider receives data from the server-side
+ * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.
+ * @param {event} e The Ext.Direct.Event type that occurred.
+ */
+ 'data',
+<span id='Ext-direct.Provider-event-exception'> /**
+</span> * @event exception
+ * Fires when the Provider receives an exception from the server-side
+ */
+ 'exception'
+ );
+ me.mixins.observable.constructor.call(me, config);
+ },
+
+<span id='Ext-direct.Provider-method-isConnected'> /**
+</span> * Returns whether or not the server-side is currently connected.
+ * Abstract method for subclasses to implement.
+ */
+ isConnected: function(){
+ return false;
+ },
+
+<span id='Ext-direct.Provider-property-connect'> /**
+</span> * Abstract methods for subclasses to implement.
+ */
+ connect: Ext.emptyFn,
+
+<span id='Ext-direct.Provider-property-disconnect'> /**
+</span> * Abstract methods for subclasses to implement.
+ */
+ disconnect: Ext.emptyFn
+});
+</pre></pre></body></html>
\ No newline at end of file