Skip to content

OTPComponentStatus

dsmurfin edited this page Apr 22, 2020 · 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

ipAddress

The IP address of the component.

var ipAddress: 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