本文整理汇总了Java中com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException类的典型用法代码示例。如果您正苦于以下问题:Java DirectoryRequestFailedException类的具体用法?Java DirectoryRequestFailedException怎么用?Java DirectoryRequestFailedException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DirectoryRequestFailedException类属于com.subgraph.orchid.directory.downloader包,在下文中一共展示了DirectoryRequestFailedException类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: downloadDescriptor
import com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException; //导入依赖的package包/类
private void downloadDescriptor() {
logger.fine("Downloading descriptor for bridge: "+ target);
try {
final RouterDescriptor descriptor = directoryDownloader.downloadBridgeDescriptor(target);
if(descriptor != null) {
logger.fine("Descriptor received for bridge "+ target +". Adding to list of usable bridges");
target.setDescriptor(descriptor);
synchronized(lock) {
bridgeRouters.add(target);
lock.notifyAll();
}
}
} catch (DirectoryRequestFailedException e) {
logger.warning("Failed to download descriptor for bridge: "+ e.getMessage());
}
}
开发者ID:HashEngineering,项目名称:namecoinj,代码行数:17,代码来源:Bridges.java
示例2: downloadBridgeDescriptor
import com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException; //导入依赖的package包/类
RouterDescriptor downloadBridgeDescriptor(Router bridge) throws DirectoryRequestFailedException;
开发者ID:HashEngineering,项目名称:namecoinj,代码行数:2,代码来源:DirectoryDownloader.java
示例3: downloadCurrentConsensus
import com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException; //导入依赖的package包/类
ConsensusDocument downloadCurrentConsensus(boolean useMicrodescriptors) throws DirectoryRequestFailedException;
开发者ID:HashEngineering,项目名称:namecoinj,代码行数:2,代码来源:DirectoryDownloader.java
示例4: downloadKeyCertificates
import com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException; //导入依赖的package包/类
List<KeyCertificate> downloadKeyCertificates(Set<RequiredCertificate> required) throws DirectoryRequestFailedException;
开发者ID:HashEngineering,项目名称:namecoinj,代码行数:2,代码来源:DirectoryDownloader.java
示例5: downloadRouterDescriptors
import com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException; //导入依赖的package包/类
List<RouterDescriptor> downloadRouterDescriptors(Set<HexDigest> fingerprints) throws DirectoryRequestFailedException;
开发者ID:HashEngineering,项目名称:namecoinj,代码行数:2,代码来源:DirectoryDownloader.java
示例6: downloadRouterMicrodescriptors
import com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException; //导入依赖的package包/类
List<RouterMicrodescriptor> downloadRouterMicrodescriptors(Set<HexDigest> fingerprints) throws DirectoryRequestFailedException;
开发者ID:HashEngineering,项目名称:namecoinj,代码行数:2,代码来源:DirectoryDownloader.java
注:本文中的com.subgraph.orchid.directory.downloader.DirectoryRequestFailedException类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论