DNSRecord
public struct DNSRecord : OwnedInstanceProtocol
This struct is the response from the GetDNS command.
-
This is us.
Declaration
Swift
public let owner: RVS_ONVIF!
-
This is the search domain string.
Declaration
Swift
public let searchDomain: [String]
-
This is true, if it came from a DHCP server.
Declaration
Swift
public let isFromDHCP: Bool
-
This is an array of IP addresses. They can be either IPv4 or IPv6.
Declaration
Swift
public let addresses: [RVS_IPAddress]
-
This is the structure, as sendable parameters in the appropriate namespace[s].
Declaration
Swift
public var asParameters: [String : Any]! { get }
-
We declare this, because we need it to be public.
Declaration
Swift
public init(owner inOwner: RVS_ONVIF, searchDomain inSearchDomain: [String], isFromDHCP inIsFromDHCP: Bool, addresses inAddresses: [RVS_IPAddress])
Parameters
owner
The ONVIF handler instance that “owns” this struct instance.
searchDomain
An Array of String, that contains one or more search domains.
isFromDHCP
True, if the DNS should be assigned by DHCP
addresses
An Array of IP addresses (as special String extension embedded classes) to be used for manual DNS.