Constructor and Description |
---|
Application(String[] args)
Application constructor.
|
Application(String[] args,
String defaultUrl)
Application constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Called by garbage collector when object destroy.
Override to free the reference in JNI. |
void |
run()
Blocking function.
|
Session |
session() |
static void |
setLogCategory(String category,
long verbosity)
Crude interface to native log system
|
void |
start()
Start Application eventloops and connects the Session
|
void |
stop()
Stop Application eventloops and calls atStop() callbacks.
|
public Application(String[] args, String defaultUrl)
args
- Arguments given to main() function.defaultUrl
- Default url to connect to if none was provided in the
program argumentspublic Application(String[] args)
args
- Arguments given to main() function.public static void setLogCategory(String category, long verbosity)
public void start()
public Session session()
public void stop()
public void run()
Copyright © 2020. All rights reserved.