Lines Matching defs:io

4 @module io
5 @submodule io-xdr
11 @event io:xdrReady
13 var E_XDR_READY = Y.publish('io:xdrReady', { fireOnce: true }),
47 @param {String} uri - location of io.swf.
70 @param {Object} o - Transaction object generated by _create() in io-base.
92 @param {Object} o - Transaction object generated by _create() in io-base.
105 @param {Object} o - Transaction object generated by _create() in io-base.
114 Map of io transports.
128 @param {Object} o - Transaction object generated by _create() in io-base.
132 var io = this,
139 io.xdrResponse('success', o, c);
143 io.xdrResponse('failure', o, c);
148 io.xdrResponse(t, o, c);
160 @param {Object} o - Transaction object generated by _create() in io-base.
164 var io = this;
179 io.xdrResponse('transport error', o, c);
182 }, Y.io.xdr.delay);
185 io._ieEvt(o, c);
201 io: io
211 @param {Object} o Transaction object generated by _create() in io-base.
217 var io = this,
224 io.start(o, c);
228 //io.complete(o, c);
231 io.success(_data(o, u, d), c);
239 io.failure(_data(o, u, d), c);
246 Fires event "io:xdrReady"
272 Fires event "io:xdrReady"
280 Y.io.xdrReady = function(yid, uid){
281 var io = Y.io._map[uid];
282 Y.io.xdr.delay = 0;
283 io._xdrReady.apply(io, [yid, uid]);
286 Y.io.xdrResponse = function(e, o, c){
287 var io = Y.io._map[o.uid];
288 io.xdrResponse.apply(io, [e, o, c]);
291 Y.io.transport = function(c){
292 var io = Y.io._map['io:0'] || new Y.IO();
293 c.uid = io._uid;
294 io.transport.apply(io, [c]);
299 event io.swf has not finished loading. Once the E_XDR_READY
306 Y.io.xdr = { delay : 100 };