TROBonjourRegistrationStrategy
Overview
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.
Location
- Unit: uROZeroConf.pas
- Ancestry: TInterfacedObject | TROBonjourRegistrationStrategy
Instance Methods
constructor Create
Creates a new instance with a supplied value.
constructor Create(const aOwner: TROZeroConfRegistrationEngine)
Parameters:
- aOwner: owner engine
RegisterService protected
Registers the service with the name aServiceName of the type aServiceType in the domain aDomain. aPort represents the port on which the service is available. aTxtRecord represents additional service information, like channel, message type, etc.
procedure RegisterService(const aDomain: UnicodeString; const aServiceType: UnicodeString; const aServiceName: UnicodeString; const aPort: Integer; aTxtRecord: TBytes)
Parameters:
- 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
Stops the specified service.
procedure Stop