Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / source / RemotingEvent.html
1 <!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.RemotingEvent'>/**
2 </span> * @class Ext.direct.RemotingEvent
3  * @extends Ext.direct.Event
4  * An event that is fired when data is received from a 
5  * {@link Ext.direct.RemotingProvider}. Contains a method to the
6  * related transaction for the direct request, see {@link #getTransaction}
7  */
8 Ext.define('Ext.direct.RemotingEvent', {
9     
10     /* Begin Definitions */
11    
12     extend: 'Ext.direct.Event',
13     
14     alias: 'direct.rpc',
15     
16     /* End Definitions */
17     
18 <span id='Ext-direct.RemotingEvent-method-getTransaction'>    /**
19 </span>     * Get the transaction associated with this event.
20      * @return {Ext.direct.Transaction} The transaction
21      */
22     getTransaction: function(){
23         return this.transaction || Ext.direct.Manager.getTransaction(this.tid);
24     }
25 });
26 </pre></pre></body></html>