Package net.i2p.BOB
Class BOB
java.lang.Object
net.i2p.BOB.BOB
@Deprecated public class BOB extends Object implements Runnable, ClientApp
Deprecated.
Please port applications to SAMv3
################################################################################
############################.#..........#..#..........##########################
#######################......................................###################
####################...........................#.......#........################
#################..................##...................#.........##############
###############................###...####.....#..###.....#.........#############
#############...........###..#..###...#####...###.##........#.......############
###########................#......##...#####...##..##.......#..#........########
##########.........................#....##.##..#...##.....................######
#########...................................#....#.........................#####
########.........................................#...............#..........####
########.........................................#..........#######..........###
#######.................................................############..........##
#######..........................................####################.........##
#######............####################......########################.........##
######.............###############################################.##.........##
######............################################################..##........##
######............################################################..##........##
######.............##############################################..##.........##
######............##############################################...##..........#
######............#..###########################################...##..........#
######.............#############################################....#..........#
#######...........###############################################..##.........##
#######...........#####.#.#.#.########################.....#.####...##........##
######............#..............##################.................##.........#
######................####.........###############........#####......##........#
######..............####..#.........############.......##.#.######...##.......##
######.................#.####.........########...........##....###...##.......##
#######....#....###...................#######...............#...###..##.......##
#######.........###..###.....###.......######.##.#####.........####..##.......##
#######.....#...##############.........############......###########.###......##
#######....##...##########.......##...##############......#.############.....###
########....#..########......######...##################################....####
########....##.####################...##################################....####
########..#.##..###################..##################################..#..####
##########..###..#################...##################################...#.####
#########....##...##############....########..#####.################.##..#.#####
############.##....##########.......#########.###.......###########..#.#########
###############.....#######...#.......########.....##.....######.....###########
###############......###....##..........##.......######....#.........#.#########
##############............##..................##########..............##########
##############..............................##########..#.............##########
###############.......##..................#####..............####....###########
###############.......#####.......#.............####.....#######.....###########
################...#...####......##################.....########....############
################...##..#####.........####.##.....#....##########....############
##################..##..####...........#####.#....############.....#############
##################......#####.................################....##############
###################.....####..........##########..###########....###############
####################..#..#..........................########.....###############
#####################.##.......###.................########....#################
######################.........#.......#.##.###############....#################
#############.#######...............#####################....###################
###..#.....##...####..........#.....####################....####################
####......##........................##################....######################
#.##...###..............###.........###############......#######################
#...###..##............######...........................########################
##.......###..........##########....#...#...........############################
##.........##.......############################################################
###........##.....##############################################################
####.............###############################################################
######.........#################################################################
#########....###################################################################
################################################################################
BOB, main command socket listener, launches the command parser engine.
############################.#..........#..#..........##########################
#######################......................................###################
####################...........................#.......#........################
#################..................##...................#.........##############
###############................###...####.....#..###.....#.........#############
#############...........###..#..###...#####...###.##........#.......############
###########................#......##...#####...##..##.......#..#........########
##########.........................#....##.##..#...##.....................######
#########...................................#....#.........................#####
########.........................................#...............#..........####
########.........................................#..........#######..........###
#######.................................................############..........##
#######..........................................####################.........##
#######............####################......########################.........##
######.............###############################################.##.........##
######............################################################..##........##
######............################################################..##........##
######.............##############################################..##.........##
######............##############################################...##..........#
######............#..###########################################...##..........#
######.............#############################################....#..........#
#######...........###############################################..##.........##
#######...........#####.#.#.#.########################.....#.####...##........##
######............#..............##################.................##.........#
######................####.........###############........#####......##........#
######..............####..#.........############.......##.#.######...##.......##
######.................#.####.........########...........##....###...##.......##
#######....#....###...................#######...............#...###..##.......##
#######.........###..###.....###.......######.##.#####.........####..##.......##
#######.....#...##############.........############......###########.###......##
#######....##...##########.......##...##############......#.############.....###
########....#..########......######...##################################....####
########....##.####################...##################################....####
########..#.##..###################..##################################..#..####
##########..###..#################...##################################...#.####
#########....##...##############....########..#####.################.##..#.#####
############.##....##########.......#########.###.......###########..#.#########
###############.....#######...#.......########.....##.....######.....###########
###############......###....##..........##.......######....#.........#.#########
##############............##..................##########..............##########
##############..............................##########..#.............##########
###############.......##..................#####..............####....###########
###############.......#####.......#.............####.....#######.....###########
################...#...####......##################.....########....############
################...##..#####.........####.##.....#....##########....############
##################..##..####...........#####.#....############.....#############
##################......#####.................################....##############
###################.....####..........##########..###########....###############
####################..#..#..........................########.....###############
#####################.##.......###.................########....#################
######################.........#.......#.##.###############....#################
#############.#######...............#####################....###################
###..#.....##...####..........#.....####################....####################
####......##........................##################....######################
#.##...###..............###.........###############......#######################
#...###..##............######...........................########################
##.......###..........##########....#...#...........############################
##.........##.......############################################################
###........##.....##############################################################
####.............###############################################################
######.........#################################################################
#########....###################################################################
################################################################################
BOB, main command socket listener, launches the command parser engine.
- Author:
- sponge
-
Field Summary
Fields Modifier and Type Field Description static StringPROP_BOB_HOSTDeprecated.static StringPROP_BOB_PORTDeprecated.static StringPROP_CFG_VERDeprecated.static StringPROP_CONFIG_LOCATIONDeprecated. -
Constructor Summary
Constructors Constructor Description BOB(I2PAppContext context, ClientAppManager mgr, String[] args)Deprecated.For ClientApp interface. -
Method Summary
Modifier and Type Method Description StringgetDisplayName()Deprecated.The display name of the ClientApp, used in user interfaces.StringgetName()Deprecated.The generic name of the ClientApp, used for registration, e.g.ClientAppStategetState()Deprecated.The current state of the ClientApp.static voidmain(String[] args)Deprecated.Listen for incoming connections and handle themvoidrun()Deprecated.voidshutdown(String[] args)Deprecated.Do not take a long time.voidstartup()Deprecated.Do not take a long time.static voidstop()Deprecated.unused
-
Field Details
-
PROP_CONFIG_LOCATION
Deprecated.- See Also:
- Constant Field Values
-
PROP_BOB_PORT
Deprecated.- See Also:
- Constant Field Values
-
PROP_BOB_HOST
Deprecated.- See Also:
- Constant Field Values
-
PROP_CFG_VER
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
BOB
Deprecated.For ClientApp interface. Does NOT open the listener socket or start threads; caller must call startup()- Parameters:
mgr- may be nullargs- non-null- Since:
- 0.9.10
-
-
Method Details
-
stop
Deprecated.unusedStop BOB gracefully -
main
Deprecated.Listen for incoming connections and handle them- Parameters:
args-
-
run
public void run()Deprecated. -
startup
Deprecated.Description copied from interface:ClientAppDo not take a long time. Do not block. Start threads here if necessary. Client must call ClientAppManager.notify() at least once within this method to change the state from INITIALIZED to something else. Will not be called multiple times on the same object.- Specified by:
startupin interfaceClientApp- Throws:
IOException- Since:
- 0.9.10
-
shutdown
Deprecated.Description copied from interface:ClientAppDo not take a long time. Do not block. Use a thread if necessary. If previously running, client must call ClientAppManager.notify() at least once within this method to change the state to STOPPING or STOPPED. May be called multiple times on the same object, in any state. -
getState
Deprecated.Description copied from interface:ClientAppThe current state of the ClientApp. -
getName
Deprecated.Description copied from interface:ClientAppThe generic name of the ClientApp, used for registration, e.g. "console". Do not translate. -
getDisplayName
Deprecated.Description copied from interface:ClientAppThe display name of the ClientApp, used in user interfaces. The app must translate.- Specified by:
getDisplayNamein interfaceClientApp- Returns:
- non-null
- Since:
- 0.9.10
-