Provides a mapping between a socket type and its associated socket provider instance. One could also use the service manager directly.
28
Introduced
Gecko 1.0
Inherits from:
nsISupports
Last changed in Gecko 1.7 Method overview
nsISocketProvider getSocketProvider(in string socketType); |
Methods
getSocketProvider()
Given a string representing a socket type, this method returns an nsISocketProvider
representing that socket type.
nsISocketProvider getSocketProvider( in string socketType );
Parameters
socketType
- The socket type for which to get a socket provider.
Return value
nsISocketProvider
that handles the specified socket type.