| Modifier and Type | Field and Description |
|---|---|
(package private) long | lastRcvdLast rcvd |
| Constructor and Description |
|---|
PeerConnectionIn(Peer peer,
DataInputStream din)Create a handler for incoming messages from a peer. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | disconnect()Disconnect from the peer and release resources. |
void | run()Read and dispatch incoming BitTorrent messages until disconnect. |
public PeerConnectionIn(Peer peer, DataInputStream din)