ServiceLocatorType
public protocol ServiceLocatorType
Start lookup DNS for retrieving endpoint URLs of various ePA gateway services. Once lookup has been done successfully, endpoint URLs for interfaces in ServiceInterfaceName can be retrieved.
-
start a new DNS lookup and provides a callback, to be called once finished
Declaration
Swift
func lookup(name: FullyQualifiedDomainName, queue: DispatchQueue, callbackQueue: DispatchQueue, callback: @escaping (LookupStatus) -> Void)Parameters
namefully qualified domain name of ePA Electronic Health Record (EHR) system. the fqdn is used for DNS lookup in order to complete URLs for the various gateway services for the EHR system
queuelookup processing queue
callbackQueuecallback will be called on callbackQueue
callbackcallback provided in order to get informed once lookup has been finished