NTPRecord
public struct NTPRecord : OwnedInstanceProtocol
This struct is the response from the GetNTP command.
-
This is us.
Declaration
Swift
public let owner: RVS_ONVIF!
-
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 an array of Names (not IP Addresses). These should be valid DNS names, but they are not vetted.
Declaration
Swift
public let names: [String]
-
This returns the parameters in a fashion suitable for sending to the device.
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, isFromDHCP inIsFromDHCP: Bool, addresses inAddresses: [RVS_IPAddress], names inNames: [String] = [])
Parameters
owner
The ONVIF handler instance that “owns” this struct instance.
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.