|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.BOB.BOB
public class BOB
################################################################################
############################.#..........#..#..........##########################
#######################......................................###################
####################...........................#.......#........################
#################..................##...................#.........##############
###############................###...####.....#..###.....#.........#############
#############...........###..#..###...#####...###.##........#.......############
###########................#......##...#####...##..##.......#..#........########
##########.........................#....##.##..#...##.....................######
#########...................................#....#.........................#####
########.........................................#...............#..........####
########.........................................#..........#######..........###
#######.................................................############..........##
#######..........................................####################.........##
#######............####################......########################.........##
######.............###############################################.##.........##
######............################################################..##........##
######............################################################..##........##
######.............##############################################..##.........##
######............##############################################...##..........#
######............#..###########################################...##..........#
######.............#############################################....#..........#
#######...........###############################################..##.........##
#######...........#####.#.#.#.########################.....#.####...##........##
######............#..............##################.................##.........#
######................####.........###############........#####......##........#
######..............####..#.........############.......##.#.######...##.......##
######.................#.####.........########...........##....###...##.......##
#######....#....###...................#######...............#...###..##.......##
#######.........###..###.....###.......######.##.#####.........####..##.......##
#######.....#...##############.........############......###########.###......##
#######....##...##########.......##...##############......#.############.....###
########....#..########......######...##################################....####
########....##.####################...##################################....####
########..#.##..###################..##################################..#..####
##########..###..#################...##################################...#.####
#########....##...##############....########..#####.################.##..#.#####
############.##....##########.......#########.###.......###########..#.#########
###############.....#######...#.......########.....##.....######.....###########
###############......###....##..........##.......######....#.........#.#########
##############............##..................##########..............##########
##############..............................##########..#.............##########
###############.......##..................#####..............####....###########
###############.......#####.......#.............####.....#######.....###########
################...#...####......##################.....########....############
################...##..#####.........####.##.....#....##########....############
##################..##..####...........#####.#....############.....#############
##################......#####.................################....##############
###################.....####..........##########..###########....###############
####################..#..#..........................########.....###############
#####################.##.......###.................########....#################
######################.........#.......#.##.###############....#################
#############.#######...............#####################....###################
###..#.....##...####..........#.....####################....####################
####......##........................##################....######################
#.##...###..............###.........###############......#######################
#...###..##............######...........................########################
##.......###..........##########....#...#...........############################
##.........##.......############################################################
###........##.....##############################################################
####.............###############################################################
######.........#################################################################
#########....###################################################################
################################################################################
BOB, main command socket listener, launches the command parser engine.
Field Summary | |
---|---|
static String |
PROP_BOB_HOST
|
static String |
PROP_BOB_PORT
|
static String |
PROP_CFG_VER
|
static String |
PROP_CONFIG_LOCATION
|
Constructor Summary | |
---|---|
BOB(I2PAppContext context,
ClientAppManager mgr,
String[] args)
For ClientApp interface. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public BOB(I2PAppContext context, ClientAppManager mgr, String[] args)
mgr
- may be nullargs
- non-null
Exception
- on bad argsMethod Detail |
---|
public static void stop()
public static void main(String[] args)
args
- public void run()
run
in interface Runnable
public void startup() throws IOException
ClientApp
startup
in interface ClientApp
IOException
public void shutdown(String[] args)
ClientApp
shutdown
in interface ClientApp
args
- generally null but could be stopArgs from clients.configpublic ClientAppState getState()
ClientApp
getState
in interface ClientApp
public String getName()
ClientApp
getName
in interface ClientApp
public String getDisplayName()
ClientApp
getDisplayName
in interface ClientApp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |