public class Tracker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
DEBUG |
private Directories |
directories |
private Logger |
logger |
private HostItem |
tracker |
Constructor and Description |
---|
Tracker(java.lang.String hostname,
int port,
boolean isInteractive)
Constructor with portStr containing a port number.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main program entry point
first parameter is port number and is mandatory
to test, run with: java serverP2P.ServerP2P
|
private HostItem tracker
private Directories directories
private Logger logger
static final boolean DEBUG