- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在新的 ODL 版本上为氟创建一个功能。在这个新版本中,软件包:org.opendaylight.mdsal.binding.api.RpcProviderService.RpcRegistration
已弃用。当转到该包的文档时,它引用了一个新包:org.opendaylight.mdsal.binding.api.RpcProviderService
有一个功能 registerRpcImplementation(Class<S> type, T implementation)
。
这太棒了;但是,我找不到有关如何实际实现该功能的记录示例。以下是 RPC 的注册方式:
private RpcRegistration<NewFeatureService> serviceRegistration;
public void init()
{
serviceRegistration = rpcProviderRegistry.addRpcImplementation(NewFeatureService.class, new NewFeatureImpl(dataBroker, ds, props));
}
缺少这个新库/包的文档的另一个问题是,由于 RpcRegistration 包的更改,新功能的 blueprint.xml 也发生了更改。
有没有人在 Fluorine 上实现了新功能,或者有一个示例来展示这是如何实现的?
我希望这并不太难,我只是还没有看到如何正确执行此操作的示例(即使在官方维基上)。
最佳答案
mdsal RpcProviderService 上的方法基本相同,只是名称改为 registerRpcImplementation,返回类型为 ObjectRegistration,这也是 RpcRegistration 的基接口(interface)。
关于java - ODL Fluorine RpcRegistration 已弃用 现在如何注册 RPC?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54184108/
我是 ODL Controller 和嵌入式 jetty 的新手。 如果有请求泛滥,我想在 jetty.xml 中添加 DoSFilter 来限制 REST 请求。 我尝试在互联网上搜索,但在 web
如果您的 C++ 项目有一堆 .ODL 文件和从 ODL 编译器生成的 .h 文件,应该告诉 doxygen 解析 .odl 和 .h,还是只解析非此即彼?一般来说,我不喜欢记录生成的代码,但 IDL
IDL 和 ODL 的主要区别是什么。我有很多项目,有些有idl,有些有odl。我应该在哪里使用它们。什么是权衡。 最佳答案 ODL 是一种传统格式。它已被 MIDL(又名:IDL)取代。查看这篇 M
我已将 ODL Netconf 测试工具 (netconf-testtool-1.1.0-Boron-executable.jar) 部署到我的 Nitrogen ODL Controller 上,以
我需要与运行 odl 的路由反射器和我的路由器建立 bgp session ,到目前为止我已经完成了以下操作。安装了 opendaylight karaf,氮气版本。 已安装 bgp 功能(功能:安装
我正在尝试在新的 ODL 版本上为氟创建一个功能。在这个新版本中,软件包:org.opendaylight.mdsal.binding.api.RpcProviderService.RpcRegist
我是 OpenDaylight Controller 的新手,尝试使用 Rest api 发布到 OpenDaylight 时遇到此错误。 function UserAction() { var xh
我目前正在开发基于 OpenDaylight 的应用程序。我想使用 ObjectDB。 但我无法激活我的包。 opendaylight-user@root>bundle:diag ntf-impl (
我无法在 Ubuntu 16.04 机器上安装包 odl-dlux-all。以下是错误信息 Error executing command: Can't install feature odl-dlu
我在 C# 中定义一个接口(interface),它将在 C# 中实现,但作为 COM 对象从非托管 C++ 模块调用。 我知道我想要/需要 C++ API 是什么样子以及我如何通过 ODL 定义它:
我是一名优秀的程序员,十分优秀!