Class ElementState
Data class for the I3V3 Element State NOTIFY body. See Section 2.4.1 and Section E.11.3.1 of NENA-STA-010.3b.
Note: Section 2.4.1 does not agree with the JSON schema defined in Section E.11.3.1, so this class uses the schema defined in E.11.3.1.
Inherited Members
Namespace: I3SubNot
Assembly: Ng911Lib.dll
Syntax
public class ElementState
Constructors
| Edit this page View SourceElementState()
Default constructor for serialization
Declaration
public ElementState()
ElementState(string, string, string)
Constructor
Declaration
public ElementState(string State, string Domain, string Reason = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | State | Current Element State. Required. Use one of the constant field values definded by this class. |
| string | Domain | Element ID for the functional element. Required. Must be in the format specified in Section 2.1.3 of NENA-STA-010.3b. For example: esrp1.state.pa.us |
| string | Reason | Reason that the element state has changed. Optional. |
Fields
| Edit this page View SourceDown
The element is unavailable
Declaration
public const string Down = "Down"
Field Value
| Type | Description |
|---|---|
| string |
ElementStateValues
Allowable values for the element state of an element. See Section 10.13 of NENA-STA-010.3b.
Declaration
public static readonly string[] ElementStateValues
Field Value
| Type | Description |
|---|---|
| string[] |
EventName
Event type for the I3V3 Element State event. See Section 2.4.1 of NENA-STA-010.3.
This is the value that must be in the Event SIP header for a SIP SUBSCRIBE or a NOTIFY request
Declaration
public const string EventName = "emergency-ElementState"
Field Value
| Type | Description |
|---|---|
| string |
GoingDown
The element is being taken out of service
Declaration
public const string GoingDown = "GoingDown"
Field Value
| Type | Description |
|---|---|
| string |
Normal
The element is operating normally
Declaration
public const string Normal = "Normal"
Field Value
| Type | Description |
|---|---|
| string |
Overloaded
The element is completely overloaded
Declaration
public const string Overloaded = "Overloaded"
Field Value
| Type | Description |
|---|---|
| string |
ScheduledMaintenance
The element is undergoing maintenance activities and is not processing requests
Declaration
public const string ScheduledMaintenance = "ScheduledMaintenance"
Field Value
| Type | Description |
|---|---|
| string |
ServiceDisruption
The element has significant problems and is unable to process all requests
Declaration
public const string ServiceDisruption = "ServiceDisruption"
Field Value
| Type | Description |
|---|---|
| string |
Unreachable
Subscriber is unable to contact the functional element
Declaration
public const string Unreachable = "Unreachable"
Field Value
| Type | Description |
|---|---|
| string |
Properties
| Edit this page View SourceelementDomain
NG9-1-1 Element Identifier. Identifies the NG9-1-1 functional element reporting Element state.
Must be in the format specified in Section 2.1.3 of NENA-STA-010.3b. For example: esrp1.state.pa.us
Required.
Declaration
[JsonIgnore]
public string elementDomain { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
reason
Text containing the reason the state was changed, if available. Optional
Declaration
[JsonIgnore]
public string reason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
state
Gets or sets the current Element State.
Declaration
[JsonIgnore]
public string state { get; set; }
Property Value
| Type | Description |
|---|---|
| string |