Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransportWrapper<Descriptor, TransportImplementation>

Type parameters

  • Descriptor

  • TransportImplementation: default<Descriptor>

Hierarchy

Index

Constructors

constructor

  • new TransportWrapper<Descriptor, TransportImplementation>(): TransportWrapper<Descriptor, TransportImplementation>
  • Type parameters

    • Descriptor

    • TransportImplementation: default<Descriptor, TransportImplementation>

    Returns TransportWrapper<Descriptor, TransportImplementation>

Properties

Private Optional app

app: undefined | default<Descriptor>

Protected Optional transport

transport: undefined | TransportImplementation

Methods

getApplication

  • getApplication(): Promise<default<Descriptor>>

Protected Abstract getTransport

  • getTransport(): Promise<TransportImplementation>
  • Get an instance of the Transport method to use. This does not cache the Transport, but returns a new instance of the Transport every time this function is called.

    template

    Returns Promise<TransportImplementation>

send

  • send(cla: number, ins: number, p1: number, p2: number): Promise<Buffer>

Abstract toString

  • toString(): string

Generated using TypeDoc