This component implements the following interfaces:


PRBool nsIIOService.offline

Returns true if networking is in "offline" mode. When in offline mode, attempts to access the network will fail (although this is not necessarily corrolated with whether there is actually a network available -- that's hard to detect without causing the dialer to come up).


nsIIOService PRBool allowPort ( PRInt32 port , char* scheme )
nsIIOService ACString extractScheme ( AUTF8String urlString )
nsIIOService PRUint32 getProtocolFlags ( char* scheme )
nsIIOService nsIProtocolHandler getProtocolHandler ( char* scheme )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIIOService nsIChannel newChannel ( AUTF8String spec , char* originCharset , nsIURI baseURI )
nsIIOService nsIChannel newChannelFromURI ( nsIURI URI )
nsIIOService nsIURI newFileURI ( nsIFile file )
nsIIOService nsIURI newURI ( AUTF8String spec , char* originCharset , nsIURI baseURI )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com