Home
last modified time | relevance | path

Searched refs:serviceInfo_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/contexts/
H A Dmdns_base_context.cpp30 serviceInfo_.addr = ""; in ParseAddressObj()
32 serviceInfo_.addr = NapiUtils::GetStringPropertyUtf8(env, obj, SERVICEINFO_ADDRESS); in ParseAddressObj()
36 serviceInfo_.family = MDnsServiceInfo::UNKNOWN; in ParseAddressObj()
41 serviceInfo_.family = MDnsServiceInfo::IPV6; in ParseAddressObj()
43 serviceInfo_.family = MDnsServiceInfo::IPV4; in ParseAddressObj()
116 serviceInfo_.type = NapiUtils::GetStringPropertyUtf8(env, value, SERVICEINFO_TYPE); in ParseServiceInfo()
119 serviceInfo_.name = NapiUtils::GetStringPropertyUtf8(env, value, SERVICEINFO_NAME); in ParseServiceInfo()
122 serviceInfo_.port = NapiUtils::GetInt32Property(env, value, SERVICEINFO_PORT); in ParseServiceInfo()
132 serviceInfo_.SetAttrMap(attrMap); in ParseServiceInfo()
138 return serviceInfo_; in GetServiceInfo()
[all …]
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/include/contexts/
H A Dmdns_base_context.h41 MDnsServiceInfo serviceInfo_;
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/include/
H A Dmdns_callback_observer.h95 MDnsServiceInfo serviceInfo_; variable
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/
H A Dmdns_callback_observer.cpp182 serviceInfo_ = serviceInfo; in HandleResolveResult()
H A Dmdns_exec.cpp75 context->SetServiceInfo(observer->serviceInfo_); in ExecResolveLocalService()