net.xpc

Classes

goog.net.xpc.CrossPageChannel
A communication channel between two documents from different domains. Provides asynchronous messaging.
goog.net.xpc.FrameElementMethodTransport
Frame-element method transport. Firefox allows a document within an iframe to call methods on the iframe-element added by the containing document. NOTE(user): Tested in all FF versions starting from 1.0
goog.net.xpc.IframePollingTransport
Iframe polling transport. Uses hidden iframes to transfer data in the fragment identifier of the URL. The peer polls the iframe's location for changes. Unfortunately, in Safari this screws up the history, because Safari doesn't allow to call location.replace() on a window containing a document from a different domain (last version tested: 2.0.4).
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.
goog.net.xpc.NativeMessagingTransport
The native messaging transport Uses document.postMessage() to send messages to other documents. Receiving is done by listening on 'message'-events on the document.
goog.net.xpc.NixTransport
NIX method transport. NOTE(user): NIX method tested in all IE versions starting from 6.0.
goog.net.xpc.Transport
The base class for transports.

Public Protected Private

Enumerations

goog.net.xpc.ChannelStates :
No description.
Constants:
CONNECTED
No description.
NOT_CONNECTED
No description.
CLOSED
No description.
Code »
goog.net.xpc.CrossPageChannelRole :
The role of the peer.
Constants:
INNER
No description.
OUTER
No description.
Code »
goog.net.xpc.TransportTypes :
Enum used to identify transport types.
Constants:
NIX
No description.
NATIVE_MESSAGING
No description.
FLASH
No description.
IFRAME_POLLING
No description.
IFRAME_RELAY
No description.
FRAME_ELEMENT_METHOD
No description.
Code »

Global Functions

goog.net.xpc.getRandomString(lengthopt_characters)
Returns a random string.
Arguments:
length :
How many characters the string shall contain.
opt_characters :
(string | undefined)
The characters used.
Returns:   The random string.
code »

Global Properties

goog.net.xpc.CfgFields :
(Object | null)
Field names used on configuration object.
Code »
goog.net.xpc.SETUP :
Transport signaling message: setup.
Code »
goog.net.xpc.SETUP_ACK_ :
Transport signaling message: setup acknowledgement.
Code »
goog.net.xpc.SETUP_ACK_NTPV2 :
Transport signaling message: setup acknowledgement.
Code »
goog.net.xpc.SETUP_NTPV2 :
Transport signaling message: setup for native transport protocol v2.
Code »
goog.net.xpc.TRANSPORT_SERVICE_ :
The name of the transport service (used for internal signalling).
Code »
goog.net.xpc.TransportNames :
(Object | null)
Enum containing transport names. These need to correspond to the transport class names for createTransport_() to work.
Code »
goog.net.xpc.UriCfgFields :
(Array | null)
Config properties that need to be URL sanitized.
Code »
goog.net.xpc.channels :
(Object.<(goog.net.xpc.CrossPageChannel | null)> | null)
Object holding active channels. Package private. Do not call from outside goog.net.xpc.
Code »
goog.net.xpc.logger :
The logger.
Code »
goog.net.xpc.randomStringCharacters_ :
The default characters used for random string generation.
Code »

Package net

Package Reference