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