public class BOB extends Object implements Runnable, ClientApp
Modifier and Type | Field and Description |
---|---|
static String |
PROP_BOB_HOST |
static String |
PROP_BOB_PORT |
static String |
PROP_CFG_VER |
static String |
PROP_CONFIG_LOCATION |
Constructor and Description |
---|
BOB(I2PAppContext context,
ClientAppManager mgr,
String[] args)
For ClientApp interface.
|
Modifier and Type | Method and 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
ClientApp
startup
in interface ClientApp
IOException
public void shutdown(String[] args)
ClientApp
public ClientAppState getState()
ClientApp
public String getName()
ClientApp
public String getDisplayName()
ClientApp
getDisplayName
in interface ClientApp