class PeerAcceptor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PeerAcceptor.ProtocolException
A unique exception so we can tell the ConnectionAcceptor about non-BT connections
|
Modifier and Type | Field and Description |
---|---|
(package private) PeerCoordinatorSet |
coordinators |
Constructor and Description |
---|
PeerAcceptor(PeerCoordinator coordinator) |
PeerAcceptor(PeerCoordinatorSet coordinators) |
final PeerCoordinatorSet coordinators
public PeerAcceptor(PeerCoordinator coordinator)
public PeerAcceptor(PeerCoordinatorSet coordinators)
public void connection(I2PSocket socket, InputStream in, OutputStream out) throws IOException
IOException