<!DOCTYPE html>
|
<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<title>The source code</title>
|
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
|
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
|
<style type="text/css">
|
.highlight { display: block; background-color: #ddd; }
|
</style>
|
<script type="text/javascript">
|
function highlight() {
|
document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
|
}
|
</script>
|
</head>
|
<body onload="prettyPrint(); highlight();">
|
<pre class="prettyprint lang-js"><span id='Ext-direct-RemotingEvent'>/**
|
</span> * An event that is fired when data is received from a
|
* {@link Ext.direct.RemotingProvider}. Contains a method to the
|
* related transaction for the direct request, see {@link #getTransaction}
|
*/
|
Ext.define('Ext.direct.RemotingEvent', {
|
extend: 'Ext.direct.Event',
|
alias: 'direct.rpc',
|
|
<span id='Ext-direct-RemotingEvent-method-getTransaction'> /**
|
</span> * Get the transaction associated with this event.
|
* @return {Ext.direct.Transaction} The transaction
|
*/
|
getTransaction: function() {
|
var me = this;
|
|
return me.transaction || Ext.direct.Manager.getTransaction(me.tid);
|
}
|
});
|
</pre>
|
</body>
|
</html>
|