Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / Transaction.html
diff --git a/docs/source/Transaction.html b/docs/source/Transaction.html
new file mode 100644 (file)
index 0000000..a638d54
--- /dev/null
@@ -0,0 +1,35 @@
+<html>\r
+<head>\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.Transaction"></div>/**\r
+ * @class Ext.Direct.Transaction\r
+ * @extends Object\r
+ * <p>Supporting Class for Ext.Direct (not intended to be used directly).</p>\r
+ * @constructor\r
+ * @param {Object} config\r
+ */\r
+Ext.Direct.Transaction = function(config){\r
+    Ext.apply(this, config);\r
+    this.tid = ++Ext.Direct.TID;\r
+    this.retryCount = 0;\r
+};\r
+Ext.Direct.Transaction.prototype = {\r
+    send: function(){\r
+        this.provider.queueTransaction(this);\r
+    },\r
+\r
+    retry: function(){\r
+        this.retryCount++;\r
+        this.send();\r
+    },\r
+\r
+    getProvider: function(){\r
+        return this.provider;\r
+    }\r
+};</pre>    \r
+</body>\r
+</html>
\ No newline at end of file