-
Notifications
You must be signed in to change notification settings - Fork 2
OTPConsumerStatus
dsmurfin edited this page Aug 28, 2021
·
3 revisions
OTP Consumer Status
public struct OTPConsumerStatus: OTPComponentStatus
Stores the status of an OTPConsumer
, including its name, state (online/offline) and errors.
Used by implementors for displaying information about discovered Consumers.
Creates a new OTP Consumer Status.
public init(name: String, cid: UUID, ipMode: OTPIPMode, ipAddresses: [String], sequenceErrors: Int, state: OTPComponentState, moduleIdentifiers: [OTPModuleIdentifier])
Includes identifying and status information.
- name: The human-readable name of this Consumer.
- cid: The CID of this Consumer.
- ipMode: The IP mode of this Consumer.
- ipAddresses: The IP Addresses of this Consumer.
- sequenceErrors: The number of sequence errors from this Consumer.
- state: The state of this Consumer.
- moduleIdentifiers: The supported module identifiers of this Consumer.
A globally unique identifier (UUID) representing the consumer, compliant with RFC 4122.
public let cid: UUID
A human-readable name for the consumer.
public var name: String
The IP mode of the producer.
public var ipMode: OTPIPMode
The IP addresses of the consumer.
public var ipAddresses: [String]
The number of sequence errors in advertisement messages from the consumer.
public var sequenceErrors: Int
The state of this consumer.
public var state: OTPComponentState
A list of the module identifiers supported by this consumer.
public var supportedModuleIdentifiers: [String]
Generated at 2021-09-01T18:46:51+0000 using swift-doc 1.0.0-rc.1.
Types
- ComponentSocketError
- OTPAddress
- OTPComponentState
- OTPConsumer
- OTPConsumerStatus
- OTPIPMode
- OTPModuleIdentifier
- OTPModulePosition
- OTPModulePosition.Scaling
- OTPModulePositionVelAccel
- OTPModuleReferenceFrame
- OTPModuleRotation
- OTPModuleRotationVelAccel
- OTPModuleScale
- OTPPoint
- OTPPointValidationError
- OTPProducer
- OTPProducerStatus