X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/source/RemotingEvent.html diff --git a/docs/source/RemotingEvent.html b/docs/source/RemotingEvent.html new file mode 100644 index 00000000..9e53ea24 --- /dev/null +++ b/docs/source/RemotingEvent.html @@ -0,0 +1,26 @@ +
\ No newline at end of file/** + * @class Ext.direct.RemotingEvent + * @extends Ext.direct.Event + * 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', { + + /* Begin Definitions */ + + extend: 'Ext.direct.Event', + + alias: 'direct.rpc', + + /* End Definitions */ + + /** + * Get the transaction associated with this event. + * @return {Ext.direct.Transaction} The transaction + */ + getTransaction: function(){ + return this.transaction || Ext.direct.Manager.getTransaction(this.tid); + } +}); +