本文整理汇总了Java中net.sourceforge.subsonic.service.NetworkService类的典型用法代码示例。如果您正苦于以下问题:Java NetworkService类的具体用法?Java NetworkService怎么用?Java NetworkService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NetworkService类属于net.sourceforge.subsonic.service包,在下文中一共展示了NetworkService类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getNetworkStatus
import net.sourceforge.subsonic.service.NetworkService; //导入依赖的package包/类
/**
* Returns status for port forwarding and URL redirection.
*/
public NetworkStatus getNetworkStatus() {
NetworkService.Status portForwardingStatus = networkService.getPortForwardingStatus();
NetworkService.Status urlRedirectionStatus = networkService.getURLRedirecionStatus();
return new NetworkStatus(portForwardingStatus.getText(),
portForwardingStatus.getDate(),
urlRedirectionStatus.getText(),
urlRedirectionStatus.getDate());
}
开发者ID:sindremehus,项目名称:subsonic,代码行数:12,代码来源:MultiService.java示例2: setNetworkService
import net.sourceforge.subsonic.service.NetworkService; //导入依赖的package包/类
public void setNetworkService(NetworkService networkService) {
this.networkService = networkService;
}
开发者ID:sindremehus,项目名称:subsonic,代码行数:4,代码来源:MultiService.java本文标签属性:
示例:示例志愿表
代码:代码编程
java:javascript什么意思
NetworkService:NetworkService