public abstract static class BrowserChannelServer.SessionHandlerServer extends BrowserChannel.SessionHandler<BrowserChannelServer>
BrowserChannel.SessionHandler.ExceptionOrReturnValue, BrowserChannel.SessionHandler.SpecialDispatchId
Constructor and Description |
---|
SessionHandlerServer() |
Modifier and Type | Method and Description |
---|---|
abstract BrowserChannel.SessionHandler.ExceptionOrReturnValue |
getProperty(BrowserChannelServer channel,
int refId,
int dispId) |
abstract BrowserChannel.SessionHandler.ExceptionOrReturnValue |
invoke(BrowserChannelServer channel,
BrowserChannel.Value thisObj,
int dispId,
BrowserChannel.Value[] args) |
abstract TreeLogger |
loadModule(BrowserChannelServer channel,
String moduleName,
String userAgent,
String url,
String tabKey,
String sessionKey,
byte[] userAgentIcon)
Load a new instance of a module.
|
abstract BrowserChannel.SessionHandler.ExceptionOrReturnValue |
setProperty(BrowserChannelServer channel,
int refId,
int dispId,
BrowserChannel.Value newValue) |
abstract void |
unloadModule(BrowserChannelServer channel,
String moduleName) |
freeValue
public abstract BrowserChannel.SessionHandler.ExceptionOrReturnValue getProperty(BrowserChannelServer channel, int refId, int dispId)
public abstract BrowserChannel.SessionHandler.ExceptionOrReturnValue invoke(BrowserChannelServer channel, BrowserChannel.Value thisObj, int dispId, BrowserChannel.Value[] args)
public abstract TreeLogger loadModule(BrowserChannelServer channel, String moduleName, String userAgent, String url, String tabKey, String sessionKey, byte[] userAgentIcon)
channel
- moduleName
- userAgent
- url
- top-level URL of the main page, null if using an old plugintabKey
- opaque key of the tab, may be empty if the plugin can't
distinguish tabs or null if using an old pluginsessionKey
- opaque key for this session, null if using an old pluginuserAgentIcon
- byte array containing an icon (which fits within
24x24) representing the user agent or null if unavailablepublic abstract BrowserChannel.SessionHandler.ExceptionOrReturnValue setProperty(BrowserChannelServer channel, int refId, int dispId, BrowserChannel.Value newValue)
public abstract void unloadModule(BrowserChannelServer channel, String moduleName)
Copyright © 2018. All rights reserved.