The BonjourRegistrationStrategy class is used internally by the ZeroConfRegistrationEngine. This class, as well as the RORegistrationStrategy class, is used for strategy pattern realization in the ZeroConfRegistrationEngine class. Both BonjourRegistrationStrategy and RORegistrationStrategy are used to retrieve information about the ZeroConf environment and services registered in it.
For internal use only.
- Assembly: RemObjects.SDK.ZeroConf.dll
- Namespace: RemObjects.SDK.ZeroConf.Engines
Creates a new instance of the BonjourRegistrationStrategy class and sets its owner, which will be notified when service registration succeeds or fails.
Registers the service of the type serviceType in the domain domain with the name serviceName. The strategy instance owner's (set via constructor) methods RegistrationFailed or RegistrationSucceeded will be called after the registration process completes (depending on service response).
This method cancels all service registrations made via this BonjourRegistrationStrategy instance.
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK shared: Data Types – File Types
- other editions