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 String
PROP_BOB_HOST
Deprecated.static String
PROP_BOB_PORT
Deprecated.static String
PROP_CFG_VER
Deprecated.static String
PROP_CONFIG_LOCATION
Deprecated.
-
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 String
getDisplayName()
Deprecated.The display name of the ClientApp, used in user interfaces.String
getName()
Deprecated.The generic name of the ClientApp, used for registration, e.g.ClientAppState
getState()
Deprecated.The current state of the ClientApp.static void
main(String[] args)
Deprecated.Listen for incoming connections and handle themvoid
run()
Deprecated.void
shutdown(String[] args)
Deprecated.Do not take a long time.void
startup()
Deprecated.Do not take a long time.static void
stop()
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 IOException
Deprecated.Description copied from interface:ClientApp
Do 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:
startup
in interfaceClientApp
- Throws:
IOException
- Since:
- 0.9.10
-
shutdown
public void shutdown(String[] args)
Deprecated.Description copied from interface:ClientApp
Do 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:ClientApp
The current state of the ClientApp.
-
getName
public String getName()
Deprecated.Description copied from interface:ClientApp
The generic name of the ClientApp, used for registration, e.g. "console". Do not translate.
-
getDisplayName
public String getDisplayName()
Deprecated.Description copied from interface:ClientApp
The display name of the ClientApp, used in user interfaces. The app must translate.- Specified by:
getDisplayName
in interfaceClientApp
- Returns:
- non-null
- Since:
- 0.9.10
-
-