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.- 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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 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 Detail
-
PROP_CONFIG_LOCATION
public static final String PROP_CONFIG_LOCATION
Deprecated.- See Also:
- Constant Field Values
-
PROP_BOB_PORT
public static final String PROP_BOB_PORT
Deprecated.- See Also:
- Constant Field Values
-
PROP_BOB_HOST
public static final String PROP_BOB_HOST
Deprecated.- See Also:
- Constant Field Values
-
PROP_CFG_VER
public static final String PROP_CFG_VER
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BOB
public BOB(I2PAppContext context, ClientAppManager mgr, String[] args)
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 Detail
-
stop
@Deprecated public static void stop()
Deprecated.unusedStop BOB gracefully
-
main
public static void main(String[] args)
Deprecated.Listen for incoming connections and handle them- Parameters:
args-
-
startup
public void startup() throws IOExceptionDeprecated.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
public void shutdown(String[] args)
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
public ClientAppState getState()
Deprecated.Description copied from interface:ClientAppThe current state of the ClientApp.
-
getName
public String getName()
Deprecated.Description copied from interface:ClientAppThe generic name of the ClientApp, used for registration, e.g. "console". Do not translate.
-
getDisplayName
public String 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
-
-