NodeOPCUA API Documentation
    Preparing search index...
    interface IBasicSession {
        getTransportSettings?: () => IBasicTransportSettings;
        browse(nodeToBrowse: BrowseDescriptionLike): Promise<BrowseResult>;
        browse(nodesToBrowse: BrowseDescriptionLike[]): Promise<BrowseResult[]>;
        browse(
            nodeToBrowse: BrowseDescriptionLike,
            callback: ResponseCallback<BrowseResult>,
        ): void;
        browse(
            nodesToBrowse: BrowseDescriptionLike[],
            callback: ResponseCallback<BrowseResult[]>,
        ): void;
        browseNext(
            continuationPoint: Buffer,
            releaseContinuationPoints: boolean,
        ): Promise<BrowseResult>;
        browseNext(
            continuationPoints: Buffer<ArrayBufferLike>[],
            releaseContinuationPoints: boolean,
        ): Promise<BrowseResult[]>;
        browseNext(
            continuationPoint: Buffer,
            releaseContinuationPoints: boolean,
            callback: ResponseCallback<BrowseResult>,
        ): void;
        browseNext(
            continuationPoints: Buffer<ArrayBufferLike>[],
            releaseContinuationPoints: boolean,
            callback: ResponseCallback<BrowseResult[]>,
        ): void;
        call(methodToCall: CallMethodRequestOptions): Promise<CallMethodResult>;
        call(
            methodsToCall: CallMethodRequestOptions[],
        ): Promise<CallMethodResult[]>;
        call(
            methodToCall: CallMethodRequestOptions,
            callback: (err: Error | null, result?: CallMethodResult) => void,
        ): void;
        call(
            methodsToCall: CallMethodRequestOptions[],
            callback: (err: Error | null, results?: CallMethodResult[]) => void,
        ): void;
        getArgumentDefinition(methodId: NodeIdLike): Promise<ArgumentDefinition>;
        getArgumentDefinition(
            methodId: NodeIdLike,
            callback: (err: Error | null, args?: ArgumentDefinition) => void,
        ): void;
        read(nodeToRead: ReadValueIdOptions, maxAge?: number): Promise<DataValue>;
        read(
            nodesToRead: ReadValueIdOptions[],
            maxAge?: number,
        ): Promise<DataValue[]>;
        read(
            nodeToRead: ReadValueIdOptions,
            maxAge: number,
            callback: ResponseCallback<DataValue>,
        ): void;
        read(
            nodesToRead: ReadValueIdOptions[],
            maxAge: number,
            callback: ResponseCallback<DataValue[]>,
        ): void;
        read(
            nodeToRead: ReadValueIdOptions,
            callback: ResponseCallback<DataValue>,
        ): void;
        read(
            nodesToRead: ReadValueIdOptions[],
            callback: ResponseCallback<DataValue[]>,
        ): void;
        translateBrowsePath(
            browsePath: BrowsePathOptions,
        ): Promise<BrowsePathResult>;
        translateBrowsePath(
            browsePaths: BrowsePathOptions[],
        ): Promise<BrowsePathResult[]>;
        translateBrowsePath(
            browsesPath: BrowsePathOptions[],
            callback: ResponseCallback<BrowsePathResult[]>,
        ): void;
        translateBrowsePath(
            browsePath: BrowsePathOptions,
            callback: ResponseCallback<BrowsePathResult>,
        ): void;
        write(nodeToWrite: WriteValueOptions): Promise<StatusCode>;
        write(nodesToWrite: WriteValueOptions[]): Promise<StatusCode[]>;
        write(
            nodeToWrite: WriteValueOptions,
            callback: ResponseCallback<StatusCode>,
        ): void;
        write(
            nodesToWrite: WriteValueOptions[],
            callback: ResponseCallback<StatusCode[]>,
        ): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    getTransportSettings?: () => IBasicTransportSettings

    Methods