4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>The source code</title>
6 <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
7 <script type="text/javascript" src="../prettify/prettify.js"></script>
8 <style type="text/css">
9 .highlight { display: block; background-color: #ddd; }
11 <script type="text/javascript">
12 function highlight() {
13 document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
17 <body onload="prettyPrint(); highlight();">
18 <pre class="prettyprint lang-js"><span id='Ext-direct-RemotingEvent'>/**
19 </span> * @class Ext.direct.RemotingEvent
20 * @extends Ext.direct.Event
21 * An event that is fired when data is received from a
22 * {@link Ext.direct.RemotingProvider}. Contains a method to the
23 * related transaction for the direct request, see {@link #getTransaction}
25 Ext.define('Ext.direct.RemotingEvent', {
27 /* Begin Definitions */
29 extend: 'Ext.direct.Event',
35 <span id='Ext-direct-RemotingEvent-method-getTransaction'> /**
36 </span> * Get the transaction associated with this event.
37 * @return {Ext.direct.Transaction} The transaction
39 getTransaction: function(){
40 return this.transaction || Ext.direct.Manager.getTransaction(this.tid);