Skip to content

OTPComponentStatus

dsmurfin edited this page Aug 28, 2021 · 3 revisions

OTPComponentStatus

OTP Component Status

public protocol OTPComponentStatus 

All OTPConsumerStatuss and OTPProducerStatuss are OTP Components.

The core requirements of an OTP Component Status.

Requirements

cid

A globally unique identifier (UUID) representing the component, compliant with RFC 4122.

var cid: UUID 

name

A human-readable name for the component.

var name: String 

ipMode

The IP mode of the component.

var ipMode: OTPIPMode 

ipAddresses

The IP addresses of the component.

var ipAddresses: [String] 

sequenceErrors

The number of sequence errors in advertisement messages from the component.

var sequenceErrors: Int 

state

The state of this component.

var state: OTPComponentState 
Clone this wiki locally