public class PeerWorkerFactory extends Object implements IPeerWorkerFactory
Note that this class implements a service. Hence, is not a part of the public API and is a subject to change.
Constructor and Description |
---|
PeerWorkerFactory(MessageRouter router) |
Modifier and Type | Method and Description |
---|---|
PeerWorker |
createPeerWorker(ConnectionKey connectionKey)
Create a torrent-aware peer worker for a given peer connection.
|
public PeerWorkerFactory(MessageRouter router)
public PeerWorker createPeerWorker(ConnectionKey connectionKey)
IPeerWorkerFactory
createPeerWorker
in interface IPeerWorkerFactory
Copyright © 2016–2021. All rights reserved.