NodeOPCUA API Documentation
    Preparing search index...

    Interface MonitoredItemOptions

    interface MonitoredItemOptions {
        clientHandle: number;
        discardOldest: boolean;
        filter: ExtensionObject | null;
        itemToMonitor?: ReadValueIdOptions;
        monitoredItemId: number;
        monitoringMode: MonitoringMode;
        queueSize: number;
        samplingInterval: number;
        timestampsToReturn?: TimestampsToReturn;
        get schema(): IStructuredTypeSchema;
        applyOnAllFields<T>(func: Func1<T>, data: T): void;
        binaryStoreSize(): number;
        clone(): any;
        decode(stream: BinaryStream): void;
        decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
        encode(stream: OutputBinaryStream): void;
        explore(): string;
        isValid(): boolean;
        toJSON(): any;
        toString(...args: any[]): string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    clientHandle: number

    the client handle

    discardOldest: boolean

    if discardOldest === true, older items are removed from the queue when queue overflows

    filter: ExtensionObject | null
    itemToMonitor?: ReadValueIdOptions
    monitoredItemId: number

    the monitoredItem Id assigned by the server to this monitoredItem.

    monitoringMode: MonitoringMode
    queueSize: number

    the size of the queue.

    samplingInterval: number

    the monitored item sampling interval ..

    timestampsToReturn?: TimestampsToReturn

    Accessors

    • get schema(): IStructuredTypeSchema

      Returns IStructuredTypeSchema

    Methods

    • Type Parameters

      • T

      Parameters

      • func: Func1<T>
      • data: T

      Returns void

    • Calculate the required size to store this object in a binary stream.

      Returns number

    • Returns any

    • Encode the object to the binary stream.

      Parameters

      • stream: OutputBinaryStream

      Returns void

    • Returns string

    • verify that all object attributes values are valid according to schema

      Returns boolean

    • Returns any

    • Parameters

      • ...args: any[]

      Returns string