Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChannelCollection

Hierarchy

  • ChannelCollection

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • socket: Socket
    • userId: number

    Returns ChannelCollection

Properties

Optional _token

_token: undefined | string

channelDict

channelDict: ChannelMap

socket

socket: Socket

userId

userId: number

Accessors

token

  • set token(token: string): void
  • Parameters

    • token: string

    Returns void

Methods

getChannel

  • getChannel(topic: string, token?: undefined | string): IChannel
  • Parameters

    • topic: string
    • Optional token: undefined | string

    Returns IChannel

Generated using TypeDoc