~cdparra/gelee/trunk

« back to all changes in this revision

Viewing changes to webui/ecosystem/extjs/source/direct/Transaction.js

  • Committer: parra
  • Date: 2010-03-15 02:39:02 UTC
  • Revision ID: svn-v4:ac5bba68-f036-4e09-846e-8f32731cc928:trunk/gelee:1433
merged gelee at svn

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Ext JS Library 3.0 RC2
 
3
 * Copyright(c) 2006-2009, Ext JS, LLC.
 
4
 * licensing@extjs.com
 
5
 * 
 
6
 * http://extjs.com/license
 
7
 */
 
8
 
 
9
Ext.Direct.Transaction = function(config){
 
10
    Ext.apply(this, config);
 
11
    this.tid = ++Ext.Direct.TID;
 
12
    this.retryCount = 0;
 
13
}
 
14
Ext.Direct.Transaction.prototype = {
 
15
    send: function(){
 
16
        this.provider.queueTransaction(this);
 
17
    },
 
18
 
 
19
    retry: function(){
 
20
        this.retryCount++;
 
21
        this.send();
 
22
    },
 
23
 
 
24
    getProvider: function(){
 
25
        return this.provider;
 
26
    }
 
27
};
 
 
b'\\ No newline at end of file'