iframerelaytransport.js
No description.

File Location

/goog/net/xpc/iframerelaytransport.js

Classes

goog.net.xpc.IframeRelayTransport
Iframe relay transport. Creates hidden iframes containing a document from the peer's origin. Data is transferred in the fragment identifier. Therefore the document loaded in the iframes can be served from the browser's cache.

Public Protected Private

Global Functions

goog.net.xpc.IframeRelayTransport.cleanupCb_()
Function which wraps cleanup_().
code »
goog.net.xpc.IframeRelayTransport.cleanup_(opt_maxAge)
Remove all relay-iframes which are older than the maximal age.
Arguments:
opt_maxAge : number=
The maximal age in milliseconds.
code »
goog.net.xpc.IframeRelayTransport.iframeLoadHandler_()
The iframe load handler. Gets called as method on the iframe element.
code »
goog.net.xpc.IframeRelayTransport.receiveMessage_(channelNameframe)
Processes an incoming message.
Arguments:
channelName : string
The name of the channel.
frame : string
The raw frame content.
code »
goog.net.xpc.IframeRelayTransport.startCleanupTimer_()
Starts the cleanup timer.
code »

Directory xpc

File Reference