Table of Contents

Class AlarmMessageHeaders

Namespace
SenseAnywhere.Sdk.Messages.Headers.Alarms
Assembly
SenseAnywhere.Sdk.dll

Represents the headers for an alarm message.

public class AlarmMessageHeaders : DeviceMessageHeaders
Inheritance
AlarmMessageHeaders
Inherited Members

Constructors

AlarmMessageHeaders(string, AlarmSubject, AlarmMessageType, DeviceMessageSender, MessageRecipient, DateTime)

Initializes a new instance of the AlarmMessageHeaders class.

public AlarmMessageHeaders(string messageId, AlarmSubject subject, AlarmMessageType messageType, DeviceMessageSender from, MessageRecipient to, DateTime timeStamp)

Parameters

messageId string

The unique identifier of the message.

subject AlarmSubject

The subject of the alarm.

messageType AlarmMessageType

The type of the alarm message.

from DeviceMessageSender

The sender of the message.

to MessageRecipient

The recipient of the message.

timeStamp DateTime

The timestamp of the message.

Properties

MessageType

Gets the type of the alarm message.

public AlarmMessageType MessageType { get; }

Property Value

AlarmMessageType

Subject

Gets the subject of the alarm.

public AlarmSubject Subject { get; }

Property Value

AlarmSubject