commit | 0238b3f4f8c5ba9a843ac9fbf2dc47fad8195630 | [log] [tgz] |
---|---|---|
author | Jungho Ahn <jhahn@google.com> | Fri Oct 16 09:02:55 2015 -0700 |
committer | Jungho Ahn <jhahn@google.com> | Fri Oct 16 09:02:55 2015 -0700 |
tree | 196878201b39f0a80e7978b3efac8a127b7173aa | |
parent | bb53491bde1aa03a98dd6679ed091b93b19c588e [diff] |
discovery: return error for duplicated advertisements. When advertising the same service instances (i.e., w/ the same instance uuid) multiple times, the behavior is undefined now. This CL changes it to return an explicit error in that case. If a user wants to update the service, the previous advertisement should be canceled first and then the user should start a new advertisement with a new service info. MultiPart: 2/2 Change-Id: I775b8d9b8288e75a2ea9c0a74f9b9c1a3a803f1c
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.