public class BOB extends Object implements Runnable, ClientApp
| Modifier and Type | Field | Description |
|---|---|---|
static String |
PROP_BOB_HOST |
|
static String |
PROP_BOB_PORT |
|
static String |
PROP_CFG_VER |
|
static String |
PROP_CONFIG_LOCATION |
| Constructor | Description |
|---|---|
BOB(I2PAppContext context,
ClientAppManager mgr,
String[] args) |
For ClientApp interface.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getDisplayName() |
The display name of the ClientApp, used in user interfaces.
|
String |
getName() |
The generic name of the ClientApp, used for registration,
e.g.
|
ClientAppState |
getState() |
The current state of the ClientApp.
|
static void |
main(String[] args) |
Listen for incoming connections and handle them
|
void |
run() |
|
void |
shutdown(String[] args) |
Do not take a long time.
|
void |
startup() |
Do not take a long time.
|
static void |
stop() |
Deprecated.
unused
|
public static final String PROP_CONFIG_LOCATION
public static final String PROP_BOB_PORT
public static final String PROP_BOB_HOST
public static final String PROP_CFG_VER
public BOB(I2PAppContext context, ClientAppManager mgr, String[] args)
mgr - may be nullargs - non-null@Deprecated public static void stop()
public static void main(String[] args)
args - public void startup()
throws IOException
ClientAppstartup in interface ClientAppIOExceptionpublic void shutdown(String[] args)
ClientApppublic ClientAppState getState()
ClientApppublic String getName()
ClientApppublic String getDisplayName()
ClientAppgetDisplayName in interface ClientApp