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}
8 Ext.define('Ext.direct.RemotingEvent', {
10 /* Begin Definitions */
12 extend: 'Ext.direct.Event',
18 <span id='Ext-direct.RemotingEvent-method-getTransaction'> /**
19 </span> * Get the transaction associated with this event.
20 * @return {Ext.direct.Transaction} The transaction
22 getTransaction: function(){
23 return this.transaction || Ext.direct.Manager.getTransaction(this.tid);
26 </pre></pre></body></html>