public interface BrowserWidgetHost
BrowserWidget
,
ModuleSpaceHost
, and the compiler.Modifier and Type | Method and Description |
---|---|
ModuleHandle |
createModuleLogger(String moduleName,
String userAgent,
String url,
String tabKey,
String sessionKey,
BrowserChannelServer serverChannel,
byte[] userAgentIcon)
Create a logger for a module instance.
|
ModuleSpaceHost |
createModuleSpaceHost(ModuleHandle module,
String moduleName)
Create a ModuleSpaceHost for the specified module.
|
ModuleHandle createModuleLogger(String moduleName, String userAgent, String url, String tabKey, String sessionKey, BrowserChannelServer serverChannel, byte[] userAgentIcon)
moduleName
- userAgent
- url
- URL of top-level window, may be null for old browser pluginstabKey
- opaque key for the tab, may be empty string if the plugin
can't distinguish tabs or null if using an old browser pluginsessionKey
- unique session key, may be null for old browser pluginsserverChannel
- connection from the clientuserAgentIcon
- byte array containing an icon (which fits in 24x24)
for this user agent or null if unavailableModuleHandle.unload()
on it when doneModuleSpaceHost createModuleSpaceHost(ModuleHandle module, String moduleName) throws UnableToCompleteException
module
- ModuleHandle returned from a previous createModuleLogger
call.moduleName
- name of module to createUnableToCompleteException
Copyright © 2018. All rights reserved.