interface ClientSessionBase {
    authenticationToken?: NodeId;
    endpoint: EndpointDescription;
    isReconnecting: boolean;
    lastRequestSentTime: Date;
    lastResponseReceivedTime: Date;
    name: string;
    serverCertificate: Buffer;
    sessionId: NodeId;
    subscriptionCount: number;
    timeout: number;
    close(callback: ErrorCallback): void;
    close(deleteSubscription: boolean, callback: ErrorCallback): void;
    close(deleteSubscription?: boolean): Promise<void>;
}

Hierarchy (view full)

Properties

authenticationToken?: NodeId
isReconnecting: boolean
lastRequestSentTime: Date

the time of the latest request sent by the client to the server

lastResponseReceivedTime: Date

the time of the latest response received by the client

name: string

the session name

serverCertificate: Buffer

the server certificate as provided by the server

sessionId: NodeId
subscriptionCount: number
timeout: number

the session Id

Methods

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • OptionaldeleteSubscription: boolean

    Returns Promise<void>