Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BinaryLibrary

Hierarchy

  • BinaryLibraryBase
    • BinaryLibrary

Index

Methods

  • createContext(configJson: string): Promise<string>
  • Parameters

    • configJson: string

    Returns Promise<string>

  • destroyContext(context: number): void
  • Parameters

    • context: number

    Returns void

  • getLibName(): Promise<string>
  • Returns Promise<string>

  • sendRequest(context: number, requestId: number, functionName: string, functionParamsJson: string): void
  • Parameters

    • context: number
    • requestId: number
    • functionName: string
    • functionParamsJson: string

    Returns void

  • setResponseHandler(handler?: ((requestId: number, paramsJson: string, responseType: ResponseType, finished: boolean) => void)): void
  • Parameters

    • Optional handler: ((requestId: number, paramsJson: string, responseType: ResponseType, finished: boolean) => void)
        • (requestId: number, paramsJson: string, responseType: ResponseType, finished: boolean): void
        • Parameters

          • requestId: number
          • paramsJson: string
          • responseType: ResponseType
          • finished: boolean

          Returns void

    Returns void

Generated using TypeDoc