forked from I2P_Developers/i2p.i2p
more classes pkg private
This commit is contained in:
@ -39,7 +39,7 @@ import net.i2p.util.SimpleTimer;
|
|||||||
/**
|
/**
|
||||||
* Accepts connections on a TCP port and routes them to sub-acceptors.
|
* Accepts connections on a TCP port and routes them to sub-acceptors.
|
||||||
*/
|
*/
|
||||||
public class ConnectionAcceptor implements Runnable
|
class ConnectionAcceptor implements Runnable
|
||||||
{
|
{
|
||||||
private final Log _log = I2PAppContext.getGlobalContext().logManager().getLog(ConnectionAcceptor.class);
|
private final Log _log = I2PAppContext.getGlobalContext().logManager().getLog(ConnectionAcceptor.class);
|
||||||
private I2PServerSocket serverSocket;
|
private I2PServerSocket serverSocket;
|
||||||
|
@ -40,7 +40,7 @@ import net.i2p.util.Log;
|
|||||||
* protocol connection. The PeerAcceptor will then create a new peer
|
* protocol connection. The PeerAcceptor will then create a new peer
|
||||||
* if the PeerCoordinator wants more peers.
|
* if the PeerCoordinator wants more peers.
|
||||||
*/
|
*/
|
||||||
public class PeerAcceptor
|
class PeerAcceptor
|
||||||
{
|
{
|
||||||
private final Log _log = I2PAppContext.getGlobalContext().logManager().getLog(PeerAcceptor.class);
|
private final Log _log = I2PAppContext.getGlobalContext().logManager().getLog(PeerAcceptor.class);
|
||||||
private final PeerCoordinator coordinator;
|
private final PeerCoordinator coordinator;
|
||||||
|
@ -12,7 +12,7 @@ import net.i2p.crypto.SHA1Hash;
|
|||||||
* Each PeerCoordinator is added to the set from within the Snark (and removed
|
* Each PeerCoordinator is added to the set from within the Snark (and removed
|
||||||
* from it there too)
|
* from it there too)
|
||||||
*/
|
*/
|
||||||
public class PeerCoordinatorSet {
|
class PeerCoordinatorSet {
|
||||||
private final Map<SHA1Hash, PeerCoordinator> _coordinators;
|
private final Map<SHA1Hash, PeerCoordinator> _coordinators;
|
||||||
|
|
||||||
public PeerCoordinatorSet() {
|
public PeerCoordinatorSet() {
|
||||||
|
@ -43,7 +43,7 @@ import org.klomp.snark.bencode.InvalidBEncodingException;
|
|||||||
* and the PeerID is not required.
|
* and the PeerID is not required.
|
||||||
* Equality is now determined solely by the dest hash.
|
* Equality is now determined solely by the dest hash.
|
||||||
*/
|
*/
|
||||||
public class PeerID implements Comparable
|
class PeerID implements Comparable
|
||||||
{
|
{
|
||||||
private byte[] id;
|
private byte[] id;
|
||||||
private Destination address;
|
private Destination address;
|
||||||
|
Reference in New Issue
Block a user