The TROBonjourRegistrationStrategy class contains the concrete implementation of its abstract ancestor's methods to communicate with Bonjour zeroconf services. See the ancestor page for more information about the members.
This class is part of the ROZeroConf implementation and is not intended to be used by users.


Instance Methods

RegisterService  protected override

Implementation of the IZeroConfRegistrationStrategy.RegisterService method. Registers the aServiceType in the aDomain with the aServiceName.

procedure RegisterService(const aDomain: UnicodeString; const aServiceType: UnicodeString; const aServiceName: UnicodeString; const aPort: integer; aTxtRecord: TBytes)


  • aDomain: Service domain name
  • aServiceType: Service type name
  • aServiceName: Server name
  • aPort: Port on which the service is available
  • aTxtRecord: Additional service information, like channel, message type etc.

Stop  protected override

This method should cancel all service registrations made via this instance.

procedure Stop