Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Adapter

Base Adapter class. Adapters are where connections from hosts are accepted and mapped to Contexts. The host connection requests a Context from a sessionId. If no matching Context is found, a new one is created and the 'connection' event is raised.

Hierarchy

Index

Constructors

Events

Accessors

Methods

Constructors

constructor

Events

onConnection

Accessors

port

  • get port(): string | number

server

  • get server(): Server
  • set server(value: Server): void

Methods

Abstract listen

  • listen(): Promise<Server>