Copyright 2014 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The service registration lifecycle management interface.
This interface is intended for the service provider to register/update/unregister a ProvidedServiceInstance.
Register a new ProvidedServiceInstance.
Register a new ProvidedServiceInstance to Service Directory.
Register a new ProviderServiceInstance with ServiceInstanceHealth.
It registers a new ProviderServiceInstance and attaches a ServiceInstanceHealth callback.
Directory server will invoke ServiceInstanceHealth periodically to update the OperationalStatus of the ProviderServiceInstance on behalf of
the Service Provider.
Update the OperationalStatus of the ProvidedServiceInstance.
It is a convenient method to update the OperationalStatus of the ProvidedServiceInstance.
Update the uri attribute of the ProvidedServiceInstance.
It is a convenient method to update the uri attribute of the ProvidedServiceInstance.
Update the ProvidedServiceInstance.
Update the existing ProvidedServiceInstance.
The metadata Map in the ProvidedServiceInstance will not be updated when it is null.
Unregister the ProvidedServiceInstance.
Unregister an existing ProvidedServiceInstance in the directory server.