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;
        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
    sentNotificationMessages: NotificationMessage[]