NodeOPCUA API Documentation
    Preparing search index...

    Interface SubscriptionTransferState

    what a Subscription carries to another thread of the same server for TransferSubscriptions: its parameters, its monitored items as they were created and revised, its next sequence number and the NotificationMessages the client has not acknowledged yet

    interface SubscriptionTransferState {
        id: number;
        lifeTimeCount: number;
        maxKeepAliveCount: number;
        maxNotificationsPerPublish: number;
        monitoredItems: {
            linkedItems: number[];
            monitoredItemId: number;
            request: MonitoredItemCreateRequest;
            timestampsToReturn: TimestampsToReturn;
        }[];
        nextSequenceNumber: number;
        pendingNotifications?: { monitoredItemId: number; notification: QueueItem }[];
        priority: number;
        publishingEnabled: boolean;
        publishingInterval: number;
        resendValues?: boolean;
        sentNotificationMessages: NotificationMessage[];
    }
    Index
    id: number
    lifeTimeCount: number
    maxKeepAliveCount: number
    maxNotificationsPerPublish: number
    monitoredItems: {
        linkedItems: number[];
        monitoredItemId: number;
        request: MonitoredItemCreateRequest;
        timestampsToReturn: TimestampsToReturn;
    }[]

    Type Declaration

    nextSequenceNumber: number
    pendingNotifications?: { monitoredItemId: number; notification: QueueItem }[]

    the data changes and events collected for the client and not published yet (takePendingNotifications)

    priority: number
    publishingEnabled: boolean
    publishingInterval: number
    resendValues?: boolean

    the data changes it kept were dropped (the new session's channel protects less than the one they were read for): its items send the values they sample first, as the new session reads them, even without sendInitialValues

    sentNotificationMessages: NotificationMessage[]