summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Remi NGUYEN VAN <reminv@google.com> 2021-12-16 15:31:16 +0900
committer Remi NGUYEN VAN <reminv@google.com> 2022-02-03 13:04:08 +0900
commitf449c263dfbd9b0b8f14abd543e12a4c7034f066 (patch)
treeed489752f23c7b66ca5ee3eaafe75a871537b76e /api/api.go
parent985da1992e8cfbfb2699d1625c8c5b316fba7983 (diff)
Support discover/resolve on specific networks
This adds a Network member to NsdServiceInfo, allowing discovered services to report which network they were discovered on, and clients to specify which network to resolve the service on. If clients use the discovered NsdServiceInfo to resolve a service, it will be resolved on the network where it was discovered instead of an unspecified network. Also add a network parameter to a new overload of NsdManager#discoverServices, so that clients can discover on specific networks. Bug: 190249673 Test: atest NsdManagerTest Change-Id: Idc4bf9fde0f4b0328204a8cd2eedc12fffbbbdba
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions