gpt4 book ai didi

com.zsmartsystems.zigbee.ZigBeeNetworkManager.setNetworkStateSerializer()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 10:31:31 24 4
gpt4 key购买 nike

本文整理了Java中com.zsmartsystems.zigbee.ZigBeeNetworkManager.setNetworkStateSerializer()方法的一些代码示例,展示了ZigBeeNetworkManager.setNetworkStateSerializer()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZigBeeNetworkManager.setNetworkStateSerializer()方法的具体详情如下:
包路径:com.zsmartsystems.zigbee.ZigBeeNetworkManager
类名称:ZigBeeNetworkManager
方法名:setNetworkStateSerializer

ZigBeeNetworkManager.setNetworkStateSerializer介绍

[英]Set a state ZigBeeNetworkStateSerializer. This will allow saving and restoring the network. The network manager will call ZigBeeNetworkStateSerializer#deserialize during the startup and ZigBeeNetworkStateSerializer#serialize during shutdown.
[中]设置状态ZigBeeNetworkStateSerializer。这将允许保存和恢复网络。网络管理器将在启动期间调用ZigBeeNetworkStateSerializer#反序列化,在关闭期间调用ZigBeeNetworkStateSerializer#序列化。

代码示例

代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee

networkManager.setNetworkStateSerializer(networkStateSerializer);
networkManager.setSerializer(DefaultSerializer.class, DefaultDeserializer.class);
final ZigBeeConsole console = new ZigBeeConsole(networkManager, dongle, commands);

代码示例来源:origin: openhab/org.openhab.binding.zigbee

networkManager.setNetworkStateSerializer(networkStateSerializer);
networkManager.setSerializer(serializerClass, deserializerClass);
networkManager.addNetworkStateListener(this);

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com