
public class OophmSessionHandler extends BrowserChannelServer.SessionHandlerServer
BrowserChannel.SessionHandler.ExceptionOrReturnValue, BrowserChannel.SessionHandler.SpecialDispatchId| Constructor and Description |
|---|
OophmSessionHandler(TreeLogger topLogger,
BrowserWidgetHost host)
Listens for new connections from browsers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
freeValue(BrowserChannelServer channel,
int[] ids) |
BrowserChannel.SessionHandler.ExceptionOrReturnValue |
getProperty(BrowserChannelServer channel,
int refId,
int dispId) |
BrowserChannel.SessionHandler.ExceptionOrReturnValue |
invoke(BrowserChannelServer channel,
BrowserChannel.Value thisVal,
int methodDispatchId,
BrowserChannel.Value[] args)
Invoke a method on a server object in from client code.
|
TreeLogger |
loadModule(BrowserChannelServer channel,
String moduleName,
String userAgent,
String url,
String tabKey,
String sessionKey,
byte[] userAgentIcon)
Load a new instance of a module.
|
BrowserChannel.SessionHandler.ExceptionOrReturnValue |
setProperty(BrowserChannelServer channel,
int refId,
int dispId,
BrowserChannel.Value newValue) |
void |
unloadModule(BrowserChannelServer channel,
String moduleName) |
public OophmSessionHandler(TreeLogger topLogger, BrowserWidgetHost host)
topLogger - logger to use for non-module-related messageshost - BrowserWidgetHost instancepublic void freeValue(BrowserChannelServer channel, int[] ids)
freeValue in class BrowserChannel.SessionHandler<BrowserChannelServer>public BrowserChannel.SessionHandler.ExceptionOrReturnValue getProperty(BrowserChannelServer channel, int refId, int dispId)
getProperty in class BrowserChannelServer.SessionHandlerServerpublic BrowserChannel.SessionHandler.ExceptionOrReturnValue invoke(BrowserChannelServer channel, BrowserChannel.Value thisVal, int methodDispatchId, BrowserChannel.Value[] args)
invoke in class BrowserChannelServer.SessionHandlerServerpublic TreeLogger loadModule(BrowserChannelServer channel, String moduleName, String userAgent, String url, String tabKey, String sessionKey, byte[] userAgentIcon)
BrowserChannelServer.SessionHandlerServerloadModule in class BrowserChannelServer.SessionHandlerServerurl - 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 BrowserChannel.SessionHandler.ExceptionOrReturnValue setProperty(BrowserChannelServer channel, int refId, int dispId, BrowserChannel.Value newValue)
setProperty in class BrowserChannelServer.SessionHandlerServerpublic void unloadModule(BrowserChannelServer channel, String moduleName)
unloadModule in class BrowserChannelServer.SessionHandlerServerCopyright © 2018. All rights reserved.