当前位置: 首页>>代码示例>>Java>>正文


Java NetworkTopologyDiscoveryImpl类代码示例

本文整理汇总了Java中javax.jmdns.impl.NetworkTopologyDiscoveryImpl的典型用法代码示例。如果您正苦于以下问题:Java NetworkTopologyDiscoveryImpl类的具体用法?Java NetworkTopologyDiscoveryImpl怎么用?Java NetworkTopologyDiscoveryImpl使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


NetworkTopologyDiscoveryImpl类属于javax.jmdns.impl包,在下文中一共展示了NetworkTopologyDiscoveryImpl类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: newNetworkTopologyDiscovery

import javax.jmdns.impl.NetworkTopologyDiscoveryImpl; //导入依赖的package包/类
/**
 * Returns a new instance of NetworkTopologyDiscovery using the class delegate if it exists.
 *
 * @return new instance of NetworkTopologyDiscovery
 */
protected static NetworkTopologyDiscovery newNetworkTopologyDiscovery() {
    NetworkTopologyDiscovery instance = null;
    Factory.ClassDelegate delegate = _databaseClassDelegate.get();
    if (delegate != null) {
        instance = delegate.newNetworkTopologyDiscovery();
    }
    return (instance != null ? instance : new NetworkTopologyDiscoveryImpl());
}
 
开发者ID:iilxy,项目名称:AndroidmDNS,代码行数:14,代码来源:NetworkTopologyDiscovery.java

示例2: newNetworkTopologyDiscovery

import javax.jmdns.impl.NetworkTopologyDiscoveryImpl; //导入依赖的package包/类
/**
 * Returns a new instance of NetworkTopologyDiscovery using the class delegate if it exists.
 *
 * @return new instance of NetworkTopologyDiscovery
 */
protected static NetworkTopologyDiscovery newNetworkTopologyDiscovery()
{
    NetworkTopologyDiscovery instance = null;
    ClassDelegate delegate = _databaseClassDelegate.get();
    if (delegate != null)
    {
        instance = delegate.newNetworkTopologyDiscovery();
    }
    return (instance != null ? instance : new NetworkTopologyDiscoveryImpl());
}
 
开发者ID:blackshadowwalker,项目名称:log4j-collector,代码行数:16,代码来源:JmmDNS.java


注:本文中的javax.jmdns.impl.NetworkTopologyDiscoveryImpl类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。