本文整理汇总了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());
}
示例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());
}