Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SessionContextImpl


Hierarchy

  • SessionContextImpl

Implements

Index

Constructors

constructor

  • new SessionContextImpl(sessionHandle: string, userName: string, currentDivision: string, serverVersion: string, systemContext: SystemContext, tenantId: string): SessionContextImpl
  • Parameters

    • sessionHandle: string
    • userName: string
    • currentDivision: string
    • serverVersion: string
    • systemContext: SystemContext
    • tenantId: string

    Returns SessionContextImpl

Properties

Private _clientType

_clientType: string

Private _gatewayHost

_gatewayHost: string

Private _password

_password: string

Private _remoteSession

_remoteSession: boolean

Private _userId

_userId: string

currentDivision

currentDivision: string

serverVersion

serverVersion: string

sessionHandle

sessionHandle: string

systemContext

systemContext: SystemContext

tenantId

tenantId: string

userName

userName: string

Accessors

clientType

  • get clientType(): string
  • Returns string

gatewayHost

  • get gatewayHost(): string
  • Returns string

isLocalSession

  • get isLocalSession(): boolean
  • Returns boolean

isRemoteSession

  • get isRemoteSession(): boolean
  • Returns boolean

online

  • set online(online: boolean): void
  • Parameters

    • online: boolean

    Returns void

password

  • get password(): string
  • Returns string

userId

  • get userId(): string
  • Returns string

Methods

Static createSessionContext

  • createSessionContext(gatewayHost: string, tenantId: string, clientType: string, userId: string, password: string): SessionContext
  • Parameters

    • gatewayHost: string
    • tenantId: string
    • clientType: string
    • userId: string
    • password: string

    Returns SessionContext

Static fromWSCreateSessionResult

  • Parameters

    • jsonObject: object
      • [id: string]: any
    • systemContext: SystemContext
    • tenantId: string

    Returns Try<SessionContext>

Generated using TypeDoc