NodeOPCUA API Documentation
    Preparing search index...

    Class FrontThreadEngine

    Index
    addressSpace: StoreAddressSpace

    the model: build it here, before or after start()

    requests: {
        admitSession: number;
        cancelAdmission: number;
        checkEventFilter: number;
        closeSession: number;
        describe: number;
        raiseEvent: number;
        returnSession: number;
        service: number;
        sessionActivated: number;
        sessionCreated: number;
        takeSession: number;
        takeSubscription: number;
        unwatchEvents: number;
        unwatchObject: number;
        value: number;
        watchEvents: number;
        watchObject: number;
    }

    the requests the fronts and the session workers sent, by kind

    serverEngine: ServerEngine

    the server's engine: sessions, limits, the node objects of namespace 0; the store above is its compact space

    serviceRequests: Record<ServiceKind, number>

    the services the fronts asked the engine to run, by service: what they could not answer in place

    • get endpointUrls(): readonly string[]

      the endpoint each front listens on: one port for all where the platform has SO_REUSEPORT

      Returns readonly string[]

    • get frontCount(): number

      Returns number

    • a namespace of the model, served by the fronts from the shared store

      Parameters

      • namespaceUri: string

      Returns number

    • the fronts close their sessions and stop listening, then end

      Returns Promise<void>