public class Platform extends java.lang.Object implements Disposable
| Modifier and Type | Field and Description |
|---|---|
protected long |
ptr |
| Modifier | Constructor and Description |
|---|---|
|
Platform(LogSystem logSystem,
FileSystem fileSystem,
HttpClient httpClient,
java.lang.String basePath)
If an interface parameter value is null then a default implementation is
chosen.
|
protected |
Platform(long ptr) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
FilterEngine |
getFilterEngine() |
JsEngine |
getJsEngine() |
void |
setUpFilterEngine(IsAllowedConnectionCallback isSubscriptionDownloadAllowedCallback) |
void |
setUpJsEngine(AppInfo appInfo) |
void |
setUpJsEngine(AppInfo appInfo,
long v8IsolateProviderPtr) |
public Platform(LogSystem logSystem, FileSystem fileSystem, HttpClient httpClient, java.lang.String basePath)
logSystem - LogSystem concrete implementationfileSystem - FileSystem concrete implementationhttpClient - HttpClient concrete implementationbasePath - base path for FileSystem (default C++ FileSystem implementation used)protected Platform(long ptr)
public void setUpJsEngine(AppInfo appInfo, long v8IsolateProviderPtr)
public void setUpJsEngine(AppInfo appInfo)
public JsEngine getJsEngine()
public void setUpFilterEngine(IsAllowedConnectionCallback isSubscriptionDownloadAllowedCallback)
public FilterEngine getFilterEngine()
public void dispose()
dispose in interface Disposable