File

src/models/events/idm/abnormal-component-termination-event.ts

Description

Serializable REDHAWK IDM Abnormal Component Termination Event model

Extends

IdmEvent

Implements

ISerializable

Index

Properties
Methods

Methods

deserialize
deserialize(input: any)

Deserializes a JSON object into this class

Parameters :
Name Type Optional Description
input any
Returns : this

Properties

Public applicationId
applicationId: string
Type : string

Application ID where the Component was

Public componentId
componentId: string
Type : string

Component ID that terminated

Public deviceId
deviceId: string
Type : string

Device ID that was executing the component

import { ISerializable } from '../../serialization/index';

import { IdmEvent } from './idm-event';

/**
 * Serializable REDHAWK IDM Abnormal Component Termination Event model
 */
export class AbnormalComponentTerminationEvent
    extends IdmEvent
    implements ISerializable<AbnormalComponentTerminationEvent> {

        /** Device ID that was executing the component */
        public deviceId: string;
        /** Component ID that terminated */
        public componentId: string;
        /** Application ID where the Component was */
        public applicationId: string;

        /** Deserializes a JSON object into this class */
        deserialize(input: any) {
            this.deviceId      = input.deviceId;
            this.componentId   = input.componentId;
            this.applicationId = input.applicationId;
            return this;
        }
}

results matching ""

    No results matching ""