TROBaseZeroConfResolveStrategy Class

From RemObjects Wiki

Jump to:navigation, search
Delphi Platform Header-48.png

This is a RemObjects SDK for Delphi Library topic

Please do not modify the page structure, but feel free to modify/add text.

ClassesProtocolsEnums

Contents

Overview

TROBaseZeroConfResolveStrategy is a base class that declares abstract methods required for resolving a domain, a service type and a service name to a real address and port. The descendants of this class are used internally in TROZeroConfResolveEngine.

Location

uROZeroConf.pas


Instance Methods

Returns the current engine type (zceBonjour or zceROZeroConfHub).
GetCurrentEngineType     protected virtual abstract


function GetCurrentEngineType: TROZeroConfEngine

TROZeroConfEngine = (zceAuto, zceBonjour, zceROZeroConfHub, zceNone);

Resolves a domain, a service type and a service name to a real address and port in the specified timeout and raises an exception if the operation was unsuccessful.

Resolve     protected virtual abstract


procedure Resolve(aTimeout: integer)
Parameters:

  • aTimeout:


TryResolve     protected virtual abstract

Resolves a domain, a service type and a service name to a real address and port in the specified timeout and returns false if it was unsuccessful.


function TryResolve(aTimeout: integer): Boolean
Parameters:

  • aTimeout:



See Also


Ro-48.png

Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Delphi and Xcode

GlossaryArchitectureArticlesFeaturesLibrarySamples

Navigation
products
hubs
special
Toolbox