Constructor and Description |
---|
ConnectionAcceptor(I2PSnarkUtil util,
PeerAcceptor peeracceptor)
Unused (single torrent).
|
ConnectionAcceptor(I2PSnarkUtil util,
PeerCoordinatorSet set)
Multitorrent.
|
Modifier and Type | Method and Description |
---|---|
int |
getPort() |
void |
halt()
May be restarted later with startAccepting().
|
void |
restart()
Effectively unused, would only be called if we changed
I2CP host/port, which is hidden in the gui if in router context
FIXME this only works if already running
|
void |
run() |
void |
startAccepting()
May be called even when already running.
|
public ConnectionAcceptor(I2PSnarkUtil util, PeerCoordinatorSet set)
public ConnectionAcceptor(I2PSnarkUtil util, PeerAcceptor peeracceptor)
public void startAccepting()
public void halt()
public void restart()
public int getPort()