X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/source/Transaction.html diff --git a/docs/source/Transaction.html b/docs/source/Transaction.html new file mode 100644 index 00000000..a638d54a --- /dev/null +++ b/docs/source/Transaction.html @@ -0,0 +1,35 @@ + + + The source code + + + + +
/** + * @class Ext.Direct.Transaction + * @extends Object + *

Supporting Class for Ext.Direct (not intended to be used directly).

+ * @constructor + * @param {Object} config + */ +Ext.Direct.Transaction = function(config){ + Ext.apply(this, config); + this.tid = ++Ext.Direct.TID; + this.retryCount = 0; +}; +Ext.Direct.Transaction.prototype = { + send: function(){ + this.provider.queueTransaction(this); + }, + + retry: function(){ + this.retryCount++; + this.send(); + }, + + getProvider: function(){ + return this.provider; + } +};
+ + \ No newline at end of file