| Interface | Description | 
|---|---|
| IPeerWorkerFactory | |
| MessageConsumer<T extends Message> | Message agent, that is interested in receiving messages of type T | 
| MessageProducer | Message agent, that is interested in producing messages | 
| MessageRouter | |
| PeerWorker | Instances of this class are responsible for providing a messaging interface
 with one particular peer within a torrent processing session. | 
| Class | Description | 
|---|---|
| Assignments | |
| BitfieldCollectingConsumer | Accumulates received bitfields and haves without validating anything. | 
| BitfieldConsumer | Consumes peer bitfield. | 
| ConnectionState | Contains basic information about a connection's state. | 
| DefaultMessageRouter | |
| GenericConsumer | Consumer that is responsible for processing
 some of the very basic messages. | 
| Mapper | Creates unique keys, that can be tested for equality with each other. | 
| MessageContext | Provides basic information about the context of a message (both inbound and outbound). | 
| MetadataConsumer | |
| MetadataProducer | |
| PeerRequestConsumer | Consumes block requests, received from the remote peer, and produces blocks. | 
| PeerWorkerFactory | Note that this class implements a service. | 
| PieceConsumer | Consumes blocks, received from the remote peer. | 
| RequestProducer | Produces block requests to the remote peer. | 
| TorrentWorker | Manages peer workers. | 
Copyright © 2016–2021. All rights reserved.