public class StandaloneClientBuilder extends TorrentClientBuilder<StandaloneClientBuilder>
Modifier | Constructor and Description |
---|---|
protected |
StandaloneClientBuilder() |
Modifier and Type | Method and Description |
---|---|
StandaloneClientBuilder |
autoLoadModules()
If this option is set, Bt will use the service loading mechanism
to load any modules that are available on application's classpath.
|
BtClient |
build() |
StandaloneClientBuilder |
config(Config config)
Set runtime configuration.
|
StandaloneClientBuilder |
module(Class<? extends com.google.inject.Module> moduleType)
Contribute an extra module into the runtime.
|
StandaloneClientBuilder |
module(com.google.inject.Module module)
Contribute an extra module into the runtime.
|
afterDownloaded, afterFileDownloaded, afterFilesChosen, afterTorrentFetched, buildProcessingContext, collectStageListeners, fileSelector, magnet, magnet, randomizedRarestSelector, rarestSelector, selector, sequentialSelector, stopWhenDownloaded, storage, torrent, torrent
initEagerly, runtime
public StandaloneClientBuilder config(Config config)
public StandaloneClientBuilder module(com.google.inject.Module module)
public StandaloneClientBuilder module(Class<? extends com.google.inject.Module> moduleType)
public StandaloneClientBuilder autoLoadModules()
BtModuleProvider
provider.
Auto-loaded modules will be used in default configuration.public BtClient build()
build
in class BaseClientBuilder<StandaloneClientBuilder>
Copyright © 2016–2021. All rights reserved.