public class ExtendedHandshakeFactory extends Object implements IExtendedHandshakeFactory
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 |
---|
ExtendedHandshakeFactory(TorrentRegistry torrentRegistry,
ExtendedMessageTypeMapping messageTypeMapping,
ApplicationService applicationService,
Config config) |
Modifier and Type | Method and Description |
---|---|
ExtendedHandshake |
getHandshake(TorrentId torrentId) |
protected String |
getVersion() |
@Inject public ExtendedHandshakeFactory(TorrentRegistry torrentRegistry, ExtendedMessageTypeMapping messageTypeMapping, ApplicationService applicationService, Config config)
public ExtendedHandshake getHandshake(TorrentId torrentId)
getHandshake
in interface IExtendedHandshakeFactory
protected String getVersion()
Copyright © 2016–2021. All rights reserved.