SYMBOL INDEX (1125 symbols across 128 files) FILE: bin/deepstream-cluster.ts function action (line 23) | function action () { FILE: bin/deepstream-daemon.ts function action (line 21) | function action () { FILE: bin/deepstream-hash.ts function action (line 13) | async function action (this: any, password: string) { FILE: bin/deepstream-info.ts function printMeta (line 14) | async function printMeta (this: any) { FILE: bin/deepstream-nginx.ts function execute (line 23) | async function execute (this: any, action: string) { FILE: bin/deepstream-service.ts function response (line 19) | function response (error: Error | string | null, result: string) { function execute (line 27) | function execute (this: any, action: string) { FILE: bin/deepstream-start.ts function action (line 22) | function action () { function parseLogLevel (line 57) | function parseLogLevel (logLevel: string) { function parseInteger (line 69) | function parseInteger (name: string, port: string) { function parseBoolean (line 82) | function parseBoolean (name: string, enabled: string) { FILE: scripts/details.js function writeMetaFile (line 22) | function writeMetaFile() { FILE: scripts/license-aggregator.js constant PRE_HEADER (line 7) | const PRE_HEADER = fs.readFileSync('LICENSE', 'utf8') constant HEADER (line 8) | const HEADER = ` function traverseDependencies (line 28) | function traverseDependencies(module) { function doLevel (line 70) | function doLevel(nodePath) { function licenseText (line 147) | function licenseText (nodePath, cb) { function isModuleDirectory (line 198) | function isModuleDirectory (dirPath, cb) { function logError (line 215) | function logError(err, cb) { FILE: scripts/pkg.js constant LTS (line 3) | const LTS = process.env.LTS FILE: src/config/config-initialiser.ts function handleUUIDProperty (line 149) | function handleUUIDProperty (config: DeepstreamConfig): void { function handleClusterNode (line 155) | function handleClusterNode (config: DeepstreamConfig, services: any): D... function handleLogger (line 178) | function handleLogger (config: DeepstreamConfig, services: DeepstreamSer... function handleCustomPlugins (line 227) | function handleCustomPlugins (config: DeepstreamConfig, services: any): ... function handleConnectionEndpoints (line 257) | function handleConnectionEndpoints (config: DeepstreamConfig, services: ... function resolvePluginClass (line 299) | function resolvePluginClass (plugin: PluginConfig, type: string, logger:... function handleAuthStrategies (line 361) | function handleAuthStrategies (config: DeepstreamConfig, services: Deeps... function handleAuthStrategy (line 381) | function handleAuthStrategy (auth: PluginConfig, config: DeepstreamConfi... function handlePermissionStrategies (line 418) | function handlePermissionStrategies (config: DeepstreamConfig, services:... function handleMonitoringPlugins (line 459) | function handleMonitoringPlugins (config: DeepstreamConfig, services: De... function handleMonitoring (line 475) | function handleMonitoring (monitoringConfig: PluginConfig, config: Deeps... function handleHTTPServer (line 496) | function handleHTTPServer (config: DeepstreamConfig, services: Deepstrea... function handleTelemetry (line 529) | function handleTelemetry (config: DeepstreamConfig, services: Deepstream... FILE: src/config/config-validator.ts function getPluginOptions (line 18) | function getPluginOptions (name: string, types: string[], properties: an... FILE: src/config/file-utils.ts function resolvePrefixAndFile (line 73) | function resolvePrefixAndFile (nonAbsoluteFilePath: string, prefix: stri... FILE: src/config/js-yaml-loader.spec.ts function setUpStub (line 10) | function setUpStub (fileExists?, fileContent?) { method fileExistsSync (line 252) | fileExistsSync () { method readFileSync (line 257) | readFileSync (filePath) { class CacheModule (line 278) | class CacheModule { method constructor (line 280) | constructor (options) { method fileExistsSync (line 304) | fileExistsSync () { method readFileSync (line 309) | readFileSync (filePath) { class FooBar (line 324) | class FooBar { method constructor (line 326) | constructor (options) { method fileExistsSync (line 349) | fileExistsSync () { method readFileSync (line 354) | readFileSync (filePath) { class SuperCache (line 374) | class SuperCache { method constructor (line 376) | constructor (options) { method constructor (line 439) | constructor (options) { method constructor (line 513) | constructor (options) { class SuperStorage (line 383) | class SuperStorage { method constructor (line 385) | constructor (options) { method constructor (line 448) | constructor (options) { method constructor (line 522) | constructor (options) { method fileExistsSync (line 412) | fileExistsSync () { method readFileSync (line 417) | readFileSync (filePath) { class SuperCache (line 437) | class SuperCache { method constructor (line 376) | constructor (options) { method constructor (line 439) | constructor (options) { method constructor (line 513) | constructor (options) { class SuperStorage (line 446) | class SuperStorage { method constructor (line 385) | constructor (options) { method constructor (line 448) | constructor (options) { method constructor (line 522) | constructor (options) { class HTTPMock (line 455) | class HTTPMock { method constructor (line 457) | constructor (options) { method constructor (line 531) | constructor (options) { method fileExistsSync (line 486) | fileExistsSync () { method readFileSync (line 491) | readFileSync (filePath) { class SuperCache (line 511) | class SuperCache { method constructor (line 376) | constructor (options) { method constructor (line 439) | constructor (options) { method constructor (line 513) | constructor (options) { class SuperStorage (line 520) | class SuperStorage { method constructor (line 385) | constructor (options) { method constructor (line 448) | constructor (options) { method constructor (line 522) | constructor (options) { class HTTPMock (line 529) | class HTTPMock { method constructor (line 457) | constructor (options) { method constructor (line 531) | constructor (options) { FILE: src/config/js-yaml-loader.ts type InitialLogs (line 12) | type InitialLogs = Array<{ constant SUPPORTED_EXTENSIONS (line 19) | const SUPPORTED_EXTENSIONS = ['.yml', '.yaml', '.json', '.js'] constant DEFAULT_CONFIG_DIRS (line 20) | const DEFAULT_CONFIG_DIRS = [ function parseFile (line 103) | function parseFile (filePath: string, fil... function setGlobalConfigDirectory (line 121) | function setGlobalConfigDirectory (argv: any, filePath?: string | null):... function setGlobalLibDirectory (line 140) | function setGlobalLibDirectory (argv: any, config: DeepstreamConfig): vo... function extendConfig (line 155) | function extendConfig (config: any, argv: any): DeepstreamConfig { function verifyCustomConfigPath (line 169) | function verifyCustomConfigPath (configPath: string): string { function getDefaultConfigPath (line 180) | function getDefaultConfigPath (): string { function replaceEnvironmentVariables (line 207) | function replaceEnvironmentVariables (fileContent: string): string { function lookupConfigPaths (line 212) | function lookupConfigPaths (fileContent: string): string { function loadFiles (line 223) | async function loadFiles (fileContent: string, initialLogs: InitialLogs)... FILE: src/connection-endpoint/base/connection-endpoint.ts constant OPEN (line 5) | const OPEN = 'OPEN' type WebSocketServerConfig (line 7) | interface WebSocketServerConfig { class BaseWebsocketConnectionEndpoint (line 21) | class BaseWebsocketConnectionEndpoint extends DeepstreamPlugin implement... method constructor (line 34) | constructor (private options: WebSocketServerConfig, protected service... method whenReady (line 39) | public async whenReady (): Promise { method createWebsocketServer (line 43) | public createWebsocketServer () { method closeWebsocketServer (line 46) | public closeWebsocketServer () { method onSocketWrapperClosed (line 49) | public onSocketWrapperClosed (socketWrapper: UnauthenticatedSocketWrap... method setConnectionListener (line 53) | public setConnectionListener (connectionListener: ConnectionListener) { method getClientVersions (line 57) | public getClientVersions () { method onMessages (line 68) | public onMessages (socketWrapper: SocketWrapper, messages: Message[]) { method init (line 74) | public init (): void { method scheduleFlush (line 92) | public scheduleFlush (socketWrapper: SocketWrapper) { method flushSockets (line 102) | private flushSockets () { method getOption (line 110) | protected getOption (option: string) { method handleParseErrors (line 114) | public handleParseErrors (socketWrapper: SocketWrapper, parseResults: ... method onConnection (line 146) | public onConnection (socketWrapper: UnauthenticatedSocketWrapper) { method processConnectionMessage (line 173) | public processConnectionMessage (socketWrapper: UnauthenticatedSocketW... method authenticateConnection (line 214) | private authenticateConnection (socketWrapper: UnauthenticatedSocketWr... method sendInvalidAuthMsg (line 278) | private sendInvalidAuthMsg (socketWrapper: UnauthenticatedSocketWrappe... method registerAuthenticatedSocket (line 293) | private registerAuthenticatedSocket (unauthenticatedSocketWrapper: Una... method appendDataToSocketWrapper (line 316) | private appendDataToSocketWrapper (socketWrapper: UnauthenticatedSocke... method processInvalidAuth (line 330) | private processInvalidAuth (clientData: JSONObject, authData: JSONObje... method processConnectionTimeout (line 359) | private processConnectionTimeout (socketWrapper: UnauthenticatedSocket... method processAuthResult (line 372) | private processAuthResult (authData: any, socketWrapper: Unauthenticat... method onSocketClose (line 391) | public onSocketClose (socketWrapper: UnauthenticatedSocketWrapper): vo... method close (line 408) | public async close () { FILE: src/connection-endpoint/base/socket-wrapper.ts method constructor (line 23) | constructor ( method isOpen (line 33) | get isOpen () { method invalidTypeReceived (line 37) | protected invalidTypeReceived () { method flush (line 47) | public flush () { method sendMessage (line 58) | public sendMessage (message: { topic: TOPIC, action: CONNECTION_ACTION }... method sendAckMessage (line 66) | public sendAckMessage (message: Message, allowBuffering: boolean = true)... method onMessage (line 76) | public onMessage (messages: Message[]): void { method destroy (line 83) | public destroy (): void { method close (line 91) | public close (): void { method getHandshakeData (line 104) | public getHandshakeData (): any { method onClose (line 108) | public onClose (callback: (socketWrapper: StatefulSocketWrapper) => void... method removeOnClose (line 112) | public removeOnClose (callback: (socketWrapper: StatefulSocketWrapper) =... method sendBuiltMessage (line 116) | public sendBuiltMessage (message: SerializedType, buffer?: boolean): void { method writeMessage (line 135) | protected writeMessage (socket: any, message: SerializedType) { FILE: src/connection-endpoint/http/connection-endpoint.spec.ts method distribute (line 24) | distribute () {} FILE: src/connection-endpoint/http/connection-endpoint.ts type HTTPEvents (line 6) | interface HTTPEvents { type HTTPConnectionEndpointOptionsInterface (line 12) | interface HTTPConnectionEndpointOptionsInterface { function checkConfigOption (line 22) | function checkConfigOption (config: any, option: string, expectedType?: ... class HTTPConnectionEndpoint (line 27) | class HTTPConnectionEndpoint extends DeepstreamPlugin implements Deepstr... method constructor (line 37) | constructor (private pluginOptions: HTTPConnectionEndpointOptionsInter... method whenReady (line 52) | public async whenReady (): Promise { method close (line 56) | public async close () { method getClientVersions (line 59) | public getClientVersions () { method init (line 66) | public init (): void { method onMessages (line 92) | public onMessages (socketWrapper: SimpleSocketWrapper, messages: Messa... method onGetMessage (line 95) | private onGetMessage (meta: DeepstreamHTTPMeta, responseCallback: any) { method onAuthMessage (line 107) | private onAuthMessage (authData: JSONObject, metadata: DeepstreamHTTPM... method onPostMessage (line 143) | private onPostMessage ( method createSocketWrapper (line 208) | private createSocketWrapper ( method onMessageAuthResponse (line 231) | private onMessageAuthResponse ( method onSocketMessage (line 310) | private onSocketMessage ( method onSocketError (line 332) | private onSocketError ( method checkComplete (line 351) | private static checkComplete (messageResults: JifResult[], responseCal... method onRequestTimeout (line 369) | private onRequestTimeout (responseCallback: Function, messageResults: ... method calculateMessageResult (line 400) | private static calculateMessageResult (messageResults: JifResult[]): s... method permissionEventEmit (line 424) | private permissionEventEmit ( method onPermissionResponse (line 441) | private onPermissionResponse ( FILE: src/connection-endpoint/http/socket-wrapper.ts class HTTPSocketWrapper (line 6) | class HTTPSocketWrapper extends EventEmitter implements UnauthenticatedS... method constructor (line 25) | constructor (private services: DeepstreamServices, private onMessageCa... method init (line 29) | public init ( method close (line 46) | public close () { method flush (line 50) | public flush () { method onMessage (line 53) | public onMessage () { method getMessage (line 56) | public getMessage () { method getHandshakeData (line 64) | public getHandshakeData () { method sendError (line 72) | public sendError (message: Message, event: EVENT, errorMessage: string) { method sendMessage (line 90) | public sendMessage (message: Message) { method sendAckMessage (line 108) | public sendAckMessage (message: Message) { method parseData (line 113) | public parseData (message: Message) { method parseMessage (line 117) | public parseMessage (serializedMessage: any): ParseResult[] { method destroy (line 128) | public destroy () { method onClose (line 131) | public onClose () { method removeOnClose (line 134) | public removeOnClose () { FILE: src/connection-endpoint/mqtt/connection-endpoint.ts type MQTTConnectionEndpointConfig (line 13) | interface MQTTConnectionEndpointConfig extends WebSocketServerConfig { type MQTTPacket (line 23) | type MQTTPacket = any type MQTTConnection (line 24) | type MQTTConnection = any class MQTTConnectionEndpoint (line 31) | class MQTTConnectionEndpoint extends ConnectionEndpoint { method constructor (line 39) | constructor (private mqttOptions: MQTTConnectionEndpointConfig, servic... method whenReady (line 45) | public async whenReady (): Promise { method close (line 51) | public async close (): Promise { method createWebsocketServer (line 58) | public createWebsocketServer () { method closeWebsocketServer (line 150) | public async closeWebsocketServer () { method onSocketWrapperClosed (line 160) | public onSocketWrapperClosed (socketWrapper: SocketWrapper) { FILE: src/connection-endpoint/mqtt/socket-wrapper-factory.ts class MQTTSocketWrapper (line 11) | class MQTTSocketWrapper implements UnauthenticatedSocketWrapper { method constructor (line 25) | constructor ( method isOpen (line 33) | get isOpen () { method flush (line 37) | public flush () { method sendMessage (line 43) | public sendMessage (message: { topic: TOPIC, action: CONNECTION_ACTION... method sendAckMessage (line 51) | public sendAckMessage (message: Message, allowBuffering: boolean = tru... method getMessage (line 68) | public getMessage (message: Message): Message { method parseData (line 72) | public parseData (message: Message): true | Error { method onMessage (line 76) | public onMessage (messages: Message[]): void { method destroy (line 83) | public destroy (): void { method close (line 87) | public close (): void { method parseMessage (line 95) | public parseMessage (serializedMessage: any): ParseResult[] { method getHandshakeData (line 104) | public getHandshakeData (): any { method onClose (line 108) | public onClose (callback: (socketWrapper: StatefulSocketWrapper) => vo... method removeOnClose (line 112) | public removeOnClose (callback: (socketWrapper: StatefulSocketWrapper)... method sendBuiltMessage (line 116) | public sendBuiltMessage (message: Message, buffer?: boolean): void { FILE: src/connection-endpoint/websocket/binary/connection-endpoint.ts class WSBinaryConnectionEndpoint (line 5) | class WSBinaryConnectionEndpoint extends BaseWebsocketConnectionEndpoint... method constructor (line 7) | constructor (public wsOptions: WebSocketServerConfig, services: Deepst... method init (line 11) | public async init () { FILE: src/connection-endpoint/websocket/binary/socket-wrapper-factory.ts class WSBinarySocketWrapper (line 8) | class WSBinarySocketWrapper extends WSSocketWrapper { method getAckMessage (line 11) | public getAckMessage (message: Message): Uint8Array { method getMessage (line 15) | public getMessage (message: Message): Uint8Array { method parseMessage (line 19) | public parseMessage (message: ArrayBuffer): ParseResult[] { method parseData (line 33) | public parseData (message: Message): true | Error { FILE: src/connection-endpoint/websocket/json/connection-endpoint.ts class WSJSONConnectionEndpoint (line 5) | class WSJSONConnectionEndpoint extends WebsocketConnectionEndpoint { method constructor (line 7) | constructor (public wsOptions: WebSocketServerConfig, services: Deepst... method init (line 11) | public init () { FILE: src/connection-endpoint/websocket/json/socket-wrapper-factory.ts class JSONSocketWrapper (line 6) | class JSONSocketWrapper extends WSSocketWrapper { method getMessage (line 9) | public getMessage (message: Message): string { method getAckMessage (line 13) | public getAckMessage (message: Message): string { method parseMessage (line 17) | public parseMessage (message: string): ParseResult[] { method parseData (line 31) | public parseData (message: Message): true | Error { FILE: src/connection-endpoint/websocket/text/connection-endpoint.ts class WSTextConnectionEndpoint (line 8) | class WSTextConnectionEndpoint extends BaseWebsocketConnectionEndpoint i... method constructor (line 12) | constructor (public wsOptions: WebSocketServerConfig, services: Deepst... method init (line 21) | public async init () { method onConnection (line 26) | public onConnection (socketWrapper: UnauthenticatedSocketWrapper) { method sendPing (line 36) | private sendPing (socketWrapper: UnauthenticatedSocketWrapper) { FILE: src/connection-endpoint/websocket/text/socket-wrapper-factory.ts class TextWSSocketWrapper (line 8) | class TextWSSocketWrapper extends WSSocketWrapper { method getMessage (line 11) | public getMessage (message: Message): string { method getAckMessage (line 15) | public getAckMessage (message: Message): string { method parseMessage (line 19) | public parseMessage (message: string): ParseResult[] { method parseData (line 28) | public parseData (message: Message): true | Error { FILE: src/connection-endpoint/websocket/text/text-protocol/constants.ts constant MESSAGE_SEPERATOR (line 12) | const MESSAGE_SEPERATOR = String.fromCharCode(30) // ASCII Record Sepera... constant MESSAGE_PART_SEPERATOR (line 13) | const MESSAGE_PART_SEPERATOR = String.fromCharCode(31) // ASCII Unit Sep... constant PAYLOAD_ENCODING (line 15) | const PAYLOAD_ENCODING = { constant TOPIC (line 20) | const TOPIC = { constant PARSER_ACTIONS (line 31) | const PARSER_ACTIONS = { constant CONNECTION_ACTIONS (line 41) | const CONNECTION_ACTIONS = { constant AUTH_ACTIONS (line 57) | const AUTH_ACTIONS = { constant EVENT_ACTIONS (line 70) | const EVENT_ACTIONS = { constant RECORD_ACTIONS (line 89) | const RECORD_ACTIONS = { constant RPC_ACTIONS (line 151) | const RPC_ACTIONS = { constant PRESENCE_ACTIONS (line 175) | const PRESENCE_ACTIONS = { constant DEEPSTREAM_TYPES (line 200) | const DEEPSTREAM_TYPES = { constant TOPIC_BYTE_TO_TEXT (line 210) | const TOPIC_BYTE_TO_TEXT = convertMap(TOPIC, 'BYTE', 'TEXT') constant TOPIC_TEXT_TO_BYTE (line 211) | const TOPIC_TEXT_TO_BYTE = convertMap(TOPIC, 'TEXT', 'BYTE') constant TOPIC_TEXT_TO_KEY (line 212) | const TOPIC_TEXT_TO_KEY = reverseMap(specifyMap(TOPIC, 'TEXT')) constant TOPIC_BYTE_TO_KEY (line 213) | const TOPIC_BYTE_TO_KEY = reverseMap(specifyMap(TOPIC, 'BYTE')) constant TOPIC_BYTES (line 214) | const TOPIC_BYTES = specifyMap(TOPIC, 'BYTE') constant ACTIONS_BYTE_TO_PAYLOAD (line 216) | const ACTIONS_BYTE_TO_PAYLOAD: any = {} constant ACTIONS_BYTE_TO_TEXT (line 217) | const ACTIONS_BYTE_TO_TEXT: any = {} constant ACTIONS_TEXT_TO_BYTE (line 218) | const ACTIONS_TEXT_TO_BYTE: any = {} constant ACTIONS_BYTES (line 219) | const ACTIONS_BYTES: any = {} constant ACTIONS_TEXT_TO_KEY (line 220) | const ACTIONS_TEXT_TO_KEY: any = {} constant ACTIONS_BYTE_TO_KEY (line 221) | const ACTIONS_BYTE_TO_KEY: any = {} constant ACTIONS (line 223) | const ACTIONS = { function convertMap (line 247) | function convertMap (map: any, from: any, to: any) { function specifyMap (line 262) | function specifyMap (map: any, innerKey: any) { function reverseMap (line 276) | function reverseMap (map: any) { FILE: src/connection-endpoint/websocket/text/text-protocol/message-builder.ts constant NWA (line 20) | const NWA = y + '{}' constant BUILDERS (line 47) | const BUILDERS = { FILE: src/connection-endpoint/websocket/text/text-protocol/message-parser.ts function parseJSON (line 32) | function parseJSON (text: string, reviver?: any): any { FILE: src/connection-endpoint/websocket/text/text-protocol/utils.ts constant WRITE_ACK_TO_ACTION (line 3) | const WRITE_ACK_TO_ACTION = {} FILE: src/constants.ts type STATES (line 4) | enum STATES { FILE: src/deepstream.io.ts class Deepstream (line 32) | class Deepstream extends EventEmitter { method constructor (line 62) | constructor (config: PartialDeepstreamConfig | string | null = null) { method set (line 100) | public set (key: string, value: any): any { method isRunning (line 132) | public isRunning (): boolean { method start (line 144) | public start (): void { method stop (line 155) | public stop (): void { method getServices (line 168) | public getServices (): Readonly { method getConfig (line 172) | public getConfig (): Readonly { method transition (line 183) | private transition (transitionName: string): void { method onTransition (line 203) | private onTransition (transition: { from: STATES, to: STATES, name: st... method configLoaded (line 213) | private configLoaded (): void { method loggerInit (line 223) | private async loggerInit (): Promise { method serviceInit (line 249) | private async serviceInit () { method handlerInit (line 273) | private async handlerInit () { method pluginsInit (line 325) | private async pluginsInit () { method connectionEndpointInit (line 345) | private async connectionEndpointInit (): Promise { method run (line 375) | private run (): void { method pluginsShutdown (line 383) | private async pluginsShutdown () { method connectionEndpointShutdown (line 399) | private async connectionEndpointShutdown (): Promise { method handlerShutdown (line 405) | private async handlerShutdown () { method serviceShutdown (line 427) | private async serviceShutdown (): Promise { method loggerShutdown (line 442) | private async loggerShutdown () { method stopped (line 452) | private stopped (): void { method loadConfig (line 462) | private async loadConfig (config: PartialDeepstreamConfig | string | n... method onClientConnected (line 477) | private onClientConnected (socketWrapper: SocketWrapper): void { method onClientDisconnected (line 481) | private onClientDisconnected (socketWrapper: SocketWrapper): void { function isConnectionListener (line 486) | function isConnectionListener (object: any): object is ConnectionListener { FILE: src/default-options.ts function get (line 20) | function get (): DeepstreamConfig { FILE: src/handlers/event/event-handler.ts class EventHandler (line 5) | class EventHandler implements Handler { method constructor (line 13) | constructor (config: DeepstreamConfig, private services: DeepstreamSer... method close (line 21) | public async close () { method handle (line 29) | public handle (socketWrapper: SocketWrapper | null, message: EventMess... method triggerEvent (line 66) | public triggerEvent (socket: SocketWrapper | null, message: EventMessa... FILE: src/handlers/monitoring/monitoring.ts class MonitoringHandler (line 4) | class MonitoringHandler extends Handler { method constructor (line 10) | constructor (config: DeepstreamConfig, services: DeepstreamServices, s... method handle (line 20) | public handle (socket: SocketWrapper, message: MonitoringMessage) { FILE: src/handlers/presence/presence-handler.spec.ts constant EVERYONE (line 5) | const EVERYONE = '%_EVERYONE_%' FILE: src/handlers/presence/presence-handler.ts constant EVERYONE (line 5) | const EVERYONE = '%_EVERYONE_%' class PresenceHandler (line 12) | class PresenceHandler extends Handler implements Connec... method constructor (line 17) | constructor (config: DeepstreamConfig, private services: DeepstreamSer... method handle (line 35) | public handle (socketWrapper: SocketWrapper, message: PresenceMessage)... method onClientConnected (line 97) | public onClientConnected (socketWrapper: SocketWrapper): void { method onClientDisconnected (line 113) | public onClientDisconnected (socketWrapper: SocketWrapper): void { method handleQueryAll (line 128) | private handleQueryAll (correlationId: string, socketWrapper: SocketWr... method handleQuery (line 145) | private handleQuery (users: string[], correlationId: string, socketWra... method onClientAdded (line 163) | private onClientAdded (username: string): void { method onClientRemoved (line 184) | private onClientRemoved (username: string): void { FILE: src/handlers/record/record-deletion.ts class RecordDeletion (line 5) | class RecordDeletion { method constructor (line 22) | constructor (config: DeepstreamConfig, services: DeepstreamServices, s... method onCacheDelete (line 65) | private onCacheDelete (error: string | null): void { method onStorageDelete (line 70) | private onStorageDelete (error: string | null) { method stageComplete (line 75) | private stageComplete (error: string | null) { method done (line 96) | private done (): void { method destroy (line 107) | private destroy (): void { method handleError (line 119) | private handleError (errorMsg: string) { FILE: src/handlers/record/record-handler.ts class RecordHandler (line 9) | class RecordHandler extends Handler { method constructor (line 19) | constructor (private readonly config: DeepstreamConfig, private readon... method close (line 34) | public async close () { method handle (line 45) | public handle (socketWrapper: SocketWrapper | null, message: RecordMes... method handleClusterUpdate (line 152) | private handleClusterUpdate (message: RecordMessage) { method recordUpdatedWithoutDeepstream (line 174) | private async recordUpdatedWithoutDeepstream (message: RecordMessage, ... method head (line 257) | private head (socketWrapper: SocketWrapper, message: RecordMessage, na... method subscribeAndHeadBulk (line 261) | private subscribeAndHeadBulk (socketWrapper: SocketWrapper, message: R... method onSubscribeCreateAndRead (line 288) | private onSubscribeCreateAndRead (recordName: string, version: number,... method onSubscribeAndRead (line 302) | private onSubscribeAndRead (recordName: string, version: number, data:... method createAndUpdate (line 329) | private createAndUpdate (socketWrapper: SocketWrapper, message: Record... method forceWrite (line 385) | private forceWrite (recordName: string, message: RecordWriteMessage, s... method handleForceWriteAcknowledgement (line 419) | public handleForceWriteAcknowledgement ( method create (line 435) | private create (socketWrapper: SocketWrapper, message: RecordMessage, ... method readAndSubscribe (line 468) | private readAndSubscribe (message: RecordMessage, version: number, dat... method update (line 501) | private update (socketWrapper: SocketWrapper | null, message: RecordWr... method broadcastUpdate (line 535) | public broadcastUpdate (name: string, message: RecordMessage, noDelay:... method transitionComplete (line 543) | public transitionComplete (recordName: string): void { method removeRecordRequest (line 554) | public removeRecordRequest (recordName: string): void { method runWhenRecordStable (line 576) | public runWhenRecordStable (recordName: string, callback: Function): v... method delete (line 590) | private delete (socketWrapper: SocketWrapper, message: RecordMessage) { method remoteDelete (line 610) | private remoteDelete (message: RecordMessage) { method onDeleted (line 625) | private onDeleted (name: string, message: RecordMessage, originalSende... method permissionAction (line 637) | private permissionAction (actionToPermission: RA, message: Message, or... method onPermissionResponse (line 651) | private onPermissionResponse ( function onRequestError (line 682) | function onRequestError (event: RA, errorMessage: string, recordName: st... function onSnapshotComplete (line 696) | function onSnapshotComplete (recordName: string, version: number, data: ... function onHeadComplete (line 710) | function onHeadComplete (name: string, version: number, data: never, soc... function sendRecord (line 722) | function sendRecord (recordName: string, version: number, data: any, soc... FILE: src/handlers/record/record-request.ts type onCompleteCallback (line 5) | type onCompleteCallback = (recordName: string, version: number, data: an... type onErrorCallback (line 6) | type onErrorCallback = (event: any, errorMessage: string, recordName: st... function sendError (line 12) | function sendError ( function onStorageResponse (line 28) | function onStorageResponse ( function onCacheResponse (line 58) | function onCacheResponse ( function recordRequest (line 114) | function recordRequest ( function recordRequestBinding (line 151) | function recordRequestBinding (config: DeepstreamConfig, services: Deeps... FILE: src/handlers/record/record-transition.ts type Step (line 8) | interface Step { class RecordTransition (line 13) | class RecordTransition { method constructor (line 57) | constructor (private name: string, private config: DeepstreamConfig, p... method hasVersion (line 68) | public hasVersion (version: number): boolean { method sendVersionExists (line 80) | public sendVersionExists (step: Step): void { method add (line 114) | public add (socketWrapper: SocketWrapper, message: RecordWriteMessage,... method destroy (line 181) | public destroy (error?: string | null): void { method onRecord (line 207) | private onRecord (version: number, data: any, upsert: boolean) { method next (line 231) | private next (): void { method setUpWriteAcknowledgement (line 305) | private setUpWriteAcknowledgement (message: Message, socketWrapper: So... method flushVersionExists (line 319) | private flushVersionExists (): void { method handleWriteAcknowledgement (line 326) | private handleWriteAcknowledgement (error: string | null, socketWrappe... method onCacheRequestError (line 350) | private onCacheRequestError (error: string) { method onCacheSetResponse (line 362) | private onCacheSetResponse (error: string | null, socketWrapper?: Sock... method onStorageSetResponse (line 400) | private onStorageSetResponse (error: string | null, socketWrapper?: So... method sendWriteAcknowledgementErrors (line 417) | private sendWriteAcknowledgementErrors (errorMessage: string) { method onFatalError (line 432) | private onFatalError (error: string): void { FILE: src/handlers/rpc/rpc-handler.ts type RpcData (line 7) | interface RpcData { class RpcHandler (line 13) | class RpcHandler extends Handler { method constructor (line 20) | constructor (private config: DeepstreamConfig, private services: Deeps... method handle (line 36) | public handle (socketWrapper: SocketWrapper, message: RPCMessage, orig... method getAlternativeProvider (line 111) | public getAlternativeProvider (rpcName: string, correlationId: string)... method makeRpc (line 154) | private makeRpc (socketWrapper: SimpleSocketWrapper, message: RPCMessa... method makeRemoteRpc (line 198) | public makeRemoteRpc (requestor: SimpleSocketWrapper, message: RPCMess... method onRemoteRPCMessage (line 240) | private onRemoteRPCMessage (msg: RPCMessage, originServerName: string)... method onRPCDestroyed (line 271) | public onRPCDestroyed (correlationId: string): void { FILE: src/handlers/rpc/rpc-proxy.ts class RpcProxy (line 9) | class RpcProxy implements SimpleSocketWrapper { method constructor (line 16) | constructor (config: DeepstreamConfig, private services: DeepstreamSer... method sendAckMessage (line 19) | public sendAckMessage (message: RPCMessage): void { method sendMessage (line 29) | public sendMessage (msg: RPCMessage): void { method sendError (line 38) | public sendError (msg: RPCMessage, type: RPC_ACTION, errorMessage: str... method parseMessage (line 47) | public parseMessage (serializedMessage: any): ParseResult[] { FILE: src/handlers/rpc/rpc.ts class Rpc (line 11) | class Rpc { method constructor (line 21) | constructor (private rpcHandler: RpcHandler, private requestor: Simple... method getRequestor (line 29) | private getRequestor (requestor: SimpleSocketWrapper): any { method handle (line 59) | public handle (message: RPCMessage): void { method destroy (line 83) | public destroy (): void { method setProvider (line 99) | private setProvider (provider: SimpleSocketWrapper): void { method handleAccept (line 114) | private handleAccept (message: RPCMessage) { method reroute (line 138) | public reroute (): void { method onAcceptTimeout (line 159) | private onAcceptTimeout (): void { method onResponseTimeout (line 173) | public onResponseTimeout (): void { FILE: src/jif/jif-handler.ts type JifInMessage (line 26) | type JifInMessage = any function getJifToMsg (line 29) | function getJifToMsg () { constant TYPE (line 182) | const TYPE = { ACK: 'A', NORMAL: 'N' } function getMsgToJif (line 184) | function getMsgToJif () { class JIFHandler (line 286) | class JIFHandler { method constructor (line 291) | constructor (private services: DeepstreamServices) {} method fromJIF (line 296) | public fromJIF (jifMessage: JifInMessage) { method toJIF (line 338) | public toJIF (message: Message): JifMessage { method errorToJIF (line 356) | public errorToJIF (message: Message, event: ALL_ACTIONS | string) { FILE: src/listen/listener-registry.ts type ListenInProgress (line 5) | interface ListenInProgress { class ListenerRegistry (line 10) | class ListenerRegistry implements SubscriptionListener { method constructor (line 43) | constructor (private topic: TOPIC, private config: DeepstreamConfig, p... method close (line 90) | public async close () { method hasActiveProvider (line 98) | public hasActiveProvider (susbcriptionName: string): boolean { method handle (line 111) | public handle (socketWrapper: SocketWrapper, message: ListenMessage): ... method onIncomingMessage (line 133) | private onIncomingMessage (message: ListenMessage, serverName: string)... method processResponseForListenInProgress (line 149) | private processResponseForListenInProgress (socketWrapper: SocketWrapp... method onFirstSubscriptionMade (line 172) | public onFirstSubscriptionMade (subscriptionName: string): void { method onSubscriptionMade (line 176) | public onSubscriptionMade (subscriptionName: string, socketWrapper: So... method onLastSubscriptionRemoved (line 183) | public onLastSubscriptionRemoved (subscriptionName: string): void { method onSubscriptionRemoved (line 200) | public onSubscriptionRemoved (subscriptionName: string, socketWrapper:... method accept (line 206) | private accept (socketWrapper: SocketWrapper, message: ListenMessage):... method addListener (line 225) | private addListener (socketWrapper: SocketWrapper, message: ListenMess... method reconcileSubscriptionsToPatterns (line 244) | private reconcileSubscriptionsToPatterns (pattern: string, socketWrapp... method removeListenerIfActive (line 275) | private removeListenerIfActive (pattern: string, socketWrapper: Socket... method removeActiveListener (line 294) | private removeActiveListener (subscriptionName: string): void { method startProviderSearch (line 303) | private startProviderSearch (subscriptionName: string): void { method startLocalDiscoveryStage (line 328) | private startLocalDiscoveryStage (subscriptionName: string, localListe... method triggerNextProvider (line 341) | private triggerNextProvider (subscriptionName: string, localListenArra... method stopProviderSearch (line 388) | private stopProviderSearch (subscriptionName: string): void { method onRecordStartProvided (line 420) | private onRecordStartProvided (subscriptionName: string): void { method onRecordStopProvided (line 427) | private onRecordStopProvided (subscriptionName: string): void { method addPattern (line 443) | private addPattern (pattern: string): void { method removePattern (line 452) | private removePattern (pattern: string, socketWrapper: SocketWrapper):... method removeLastPattern (line 457) | private removeLastPattern (pattern: string): void { method removeListenerFromInProgress (line 464) | private removeListenerFromInProgress (listensCurrentlyInProgress: Map<... method sendHasProviderUpdateToSingleSubscriber (line 478) | private sendHasProviderUpdateToSingleSubscriber (hasProvider: boolean,... method sendHasProviderUpdate (line 491) | private sendHasProviderUpdate (hasProvider: boolean, subscriptionName:... method sendSubscriptionForPatternFound (line 505) | private sendSubscriptionForPatternFound (provider: Provider, subscript... method sendSubscriptionForPatternRemoved (line 517) | private sendSubscriptionForPatternRemoved (provider: Provider, subscri... method createLocalListenArray (line 529) | private createLocalListenArray (subscriptionName: string): Provider[] { method validatePattern (line 547) | private validatePattern (socketWrapper: SocketWrapper, message: Listen... method getUniqueLockName (line 564) | private getUniqueLockName (subscriptionName: string) { FILE: src/listen/listener-test-utils.ts class ListenerTestUtils (line 12) | class ListenerTestUtils { method constructor (line 30) | constructor (listenerTopic?: TOPIC.RECORD | TOPIC.EVENT) { method complete (line 83) | public complete () { method providerListensTo (line 100) | public providerListensTo (provider: number, pattern: string): void { method providerUnlistensTo (line 117) | public providerUnlistensTo (provider: number, pattern: string) { method providerWillGetListenTimeout (line 134) | public providerWillGetListenTimeout (provider: number, subscription: s... method providerWillGetSubscriptionFound (line 145) | public providerWillGetSubscriptionFound (provider: number, pattern: st... method providerWillGetSubscriptionRemoved (line 157) | public providerWillGetSubscriptionRemoved (provider: number, pattern: ... method providerAcceptsButIsntAcknowledged (line 169) | public providerAcceptsButIsntAcknowledged (provider: number, pattern: ... method providerAccepts (line 173) | public providerAccepts (provider: number, pattern: string, subscriptio... method providerRejectsAndPreviousTimeoutProviderThatAcceptedIsUsed (line 183) | public providerRejectsAndPreviousTimeoutProviderThatAcceptedIsUsed (pr... method providerAcceptsAndIsSentSubscriptionRemoved (line 187) | public providerAcceptsAndIsSentSubscriptionRemoved (provider: number, ... method providerRejects (line 192) | public providerRejects (provider: number, pattern: string, subscriptio... method acceptMessageThrowsError (line 205) | public acceptMessageThrowsError (provider: number, pattern: string, su... method rejectMessageThrowsError (line 215) | public rejectMessageThrowsError (provider: number, pattern: string, su... method providerLosesItsConnection (line 227) | public providerLosesItsConnection (provider: number) { method subscriptionAlreadyMadeFor (line 234) | public subscriptionAlreadyMadeFor (subscriptionName: string) { method clientSubscribesTo (line 238) | public clientSubscribesTo (client: number, subscriptionName: string, f... method clientUnsubscribesTo (line 247) | public clientUnsubscribesTo (client: number, subscriptionName: string,... method clientWillRecievePublishedUpdate (line 256) | public clientWillRecievePublishedUpdate (client: number, subscription:... method publishUpdateWillBeSentToSubscribers (line 267) | public publishUpdateWillBeSentToSubscribers (subscription: string, sta... method subscriptionHasActiveProvider (line 278) | public subscriptionHasActiveProvider (subscription: string, value: str... FILE: src/plugins/heap-snapshot/heap-snapshot.ts type HeapSnapshotOptions (line 5) | interface HeapSnapshotOptions { class HeapSnapshot (line 14) | class HeapSnapshot extends DeepstreamPlugin { method constructor (line 19) | constructor (private options: HeapSnapshotOptions, private services: R... method init (line 23) | public init () { method whenReady (line 38) | public async whenReady (): Promise { method close (line 42) | public async close (): Promise { method outputHeapSnapshot (line 46) | private outputHeapSnapshot () { FILE: src/service/daemon.ts function _start (line 6) | function _start (options: any) { FILE: src/service/service.ts function hasSystemD (line 12) | function hasSystemD () { function hasSystemV (line 20) | function hasSystemV () { function deleteSystemD (line 27) | async function deleteSystemD (name: string, callback: Function) { function setupSystemD (line 53) | async function setupSystemD (name: string, options: any, callback: Funct... function deleteSystemV (line 89) | async function deleteSystemV (name: string, callback: Function) { function setupSystemV (line 113) | async function setupSystemV (name: string, options: any, callback: Funct... FILE: src/services/authentication/combine/combine-authentication.ts class CombineAuthentication (line 9) | class CombineAuthentication extends DeepstreamPlugin implements Deepstre... method constructor (line 12) | constructor (private auths: DeepstreamAuthentication[]) { method whenReady (line 21) | public async whenReady () { method close (line 25) | public async close () { method isValidUser (line 29) | public async isValidUser (connectionData: JSONObject, authData: JSONOb... method onClientDisconnect (line 40) | public onClientDisconnect (userId: string): void { FILE: src/services/authentication/file/file-based-authentication.ts type FileAuthConfig (line 4) | interface FileAuthConfig { class FileBasedAuthentication (line 21) | class FileBasedAuthentication extends DeepstreamPlugin implements Deepst... method constructor (line 33) | constructor (private settings: FileAuthConfig, private services: Deeps... method whenReady (line 42) | public async whenReady (): Promise { method isValidUser (line 48) | public async isValidUser (connectionData: any, authData: any) { method validateSettings (line 94) | private validateSettings (settings: FileAuthConfig) { FILE: src/services/authentication/http/http-authentication.ts type HttpAuthenticationHandlerSettings (line 6) | interface HttpAuthenticationHandlerSettings { class HttpAuthentication (line 26) | class HttpAuthentication extends DeepstreamPlugin implements DeepstreamA... method constructor (line 31) | constructor (private settings: HttpAuthenticationHandlerSettings, priv... method isValidUser (line 42) | public async isValidUser (connectionData: JSONObject, authData: JSONOb... method validate (line 48) | private validate (id: number, connectionData: JSONObject, authData: JS... method retry (line 128) | private retry (id: number, connectionData: JSONObject, authData: JSONO... method validateSettings (line 159) | private validateSettings (): void { FILE: src/services/authentication/open/open-authentication.ts constant OPEN (line 7) | const OPEN: string = 'open' class OpenAuthentication (line 14) | class OpenAuthentication extends DeepstreamPlugin implements DeepstreamA... method isValidUser (line 20) | public async isValidUser (connectionData: JSONObject, authData: JSONOb... FILE: src/services/authentication/storage/storage-based-authentication.ts constant STRING (line 6) | const STRING = 'string' type StorageAuthConfig (line 8) | interface StorageAuthConfig { type UserData (line 23) | type UserData = DeepstreamAuthenticationResult & { class StorageBasedAuthentication (line 29) | class StorageBasedAuthentication extends DeepstreamPlugin implements Dee... method constructor (line 43) | constructor (private settings: StorageAuthConfig, private services: De... method whenReady (line 50) | public async whenReady (): Promise { method isValidUser (line 57) | public async isValidUser (connectionData: any, authData: any): Promise... FILE: src/services/cache/local-cache.ts class LocalCache (line 4) | class LocalCache extends DeepstreamPlugin implements DeepstreamCache { method head (line 9) | public head (recordName: string, callback: StorageHeadCallback) { method headBulk (line 14) | public headBulk (recordNames: string[], callback: StorageHeadBulkCallb... method set (line 28) | public set (key: string, version: number, data: any, callback: Storage... method get (line 33) | public get (key: string, callback: StorageReadCallback) { method delete (line 42) | public delete (key: string, callback: StorageWriteCallback) { method deleteBulk (line 47) | public deleteBulk (keys: string[], callback: StorageWriteCallback) { FILE: src/services/cluster-node/single-cluster-node.ts class SingleClusterNode (line 4) | class SingleClusterNode extends DeepstreamPlugin implements DeepstreamCl... method sendDirect (line 7) | public sendDirect (serverName: string, message: Message, metaData?: an... method send (line 9) | public send (message: Message, metaData?: any) {} method subscribe (line 11) | public subscribe (stateRegistryTopic: TOPIC, callback: Function) {} method close (line 13) | public async close (): Promise {} FILE: src/services/cluster-node/vertical-cluster-node.ts class VerticalClusterNode (line 17) | class VerticalClusterNode extends DeepstreamPlugin implements Deepstream... method constructor (line 23) | constructor (pluginConfig: any, private services: DeepstreamServices, ... method init (line 27) | public init () { method whenReady (line 46) | async whenReady (): Promise { method send (line 50) | public send (message: Message, metaData?: any): void { method sendDirect (line 54) | public sendDirect (serverName: string, message: Message, metaData?: an... method subscribe (line 58) | public subscribe (stateRegistryTopic: TOPIC, callback... method close (line 69) | public async close (): Promise { FILE: src/services/cluster-registry/distributed-cluster-registry.ts class DistributedClusterRegistry (line 12) | class DistributedClusterRegistry extends DeepstreamPlugin implements Clu... method constructor (line 27) | constructor (private pluginOptions: any, private services: Readonly { method onServerAdded (line 56) | public onServerAdded (callback: (serverName: string) => void) { method onServerRemoved (line 60) | public onServerRemoved (callback: (serverName: string) => void) { method getAll (line 67) | public getAll (): string[] { method isLeader (line 74) | public isLeader (): boolean { method getLeader (line 81) | public getLeader () { method onMessage (line 98) | private onMessage (message: ClusterMessage) { method checkNodes (line 119) | private checkNodes () { method updateNode (line 137) | private updateNode (message: ClusterMessage) { method removeNode (line 158) | private removeNode (serverName: string) { method publishStatus (line 170) | private publishStatus (): void { method leaveCluster (line 188) | private leaveCluster () { FILE: src/services/cluster-registry/distributed-state-registry-factory.ts class DistributedStateRegistryFactory (line 5) | class DistributedStateRegistryFactory extends DeepstreamPlugin implement... method constructor (line 9) | constructor (private pluginConfig: DistributedStateRegistryOptions, pr... method getStateRegistries (line 22) | public getStateRegistries (): Map { FILE: src/services/cluster-state/distributed-state-registry-factory.ts class DistributedStateRegistryFactory (line 5) | class DistributedStateRegistryFactory extends DeepstreamPlugin implement... method constructor (line 9) | constructor (private pluginConfig: DistributedStateRegistryOptions, pr... method getStateRegistries (line 22) | public getStateRegistries (): Map { FILE: src/services/cluster-state/distributed-state-registry.ts type DistributedStateRegistryOptions (line 6) | type DistributedStateRegistryOptions = any class DistributedStateRegistry (line 17) | class DistributedStateRegistry implements StateRegistry { method constructor (line 34) | constructor (private topic: TOPIC, private stateOptions: any, private ... method whenReady (line 55) | public async whenReady () { method onAdd (line 61) | public onAdd (callback: StateRegistryCallback): void { method onRemove (line 65) | public onRemove (callback: StateRegistryCallback): void { method has (line 72) | public has (name: string) { method add (line 80) | public add (name: string) { method remove (line 94) | public remove (name: string) { method removeAll (line 105) | public removeAll (serverName: string): void { method onServerAdded (line 112) | public onServerAdded (serverName: string) { method onServerRemoved (line 120) | public onServerRemoved (serverName: string) { method getAllServers (line 131) | public getAllServers (name: string) { method getAll (line 142) | public getAll (serverName: string): string[] { method removeFromServer (line 160) | private removeFromServer (name: string, serverName: string) { method addToServer (line 181) | private addToServer (name: string, serverName: string) { method sendMessage (line 202) | private sendMessage (name: string, action: STATE_ACTION) { method getCheckSumTotal (line 224) | private getCheckSumTotal (serverName: string, callback: (checksum: num... method createCheckSum (line 251) | private createCheckSum (name: string) { method verifyCheckSum (line 274) | private verifyCheckSum (serverName: string, remoteCheckSum: number) { method _requestFullState (line 298) | private _requestFullState (serverName: string) { method sendFullState (line 315) | public sendFullState (serverName: string): void { method applyFullState (line 339) | private applyFullState (serverName: string, names: string[]) { method resetFullStateSent (line 367) | private resetFullStateSent (): void { method processIncomingMessage (line 375) | private processIncomingMessage (message: StateMessage, serverName: str... FILE: src/services/cluster-state/single-state-registry.ts class SingleStateRegistry (line 8) | class SingleStateRegistry extends DeepstreamPlugin implements StateRegis... method has (line 16) | public has (name: string): boolean { method onAdd (line 20) | public onAdd (callback: StateRegistryCallback): void { method onRemove (line 24) | public onRemove (callback: StateRegistryCallback): void { method add (line 32) | public add (name: string): void { method remove (line 46) | public remove (name: string): void { method getAll (line 59) | public getAll (): string[] { method getAllServers (line 66) | public getAllServers (subscriptionName: string): string[] { method removeAll (line 74) | public removeAll (serverName: string): void { FILE: src/services/http/node/node-http.ts type NodeHTTPInterface (line 13) | interface NodeHTTPInterface { class NodeHTTP (line 29) | class NodeHTTP extends DeepstreamPlugin implements DeepstreamHTTPService { method constructor (line 52) | constructor (private pluginOptions: NodeHTTPInterface, private service... method whenReady (line 67) | public async whenReady (): Promise { method close (line 92) | public async close (): Promise { method sendWebsocketMessage (line 107) | public sendWebsocketMessage (socket: WebSocket, message: any, isBinary... method getSocketWrappersForUserId (line 117) | public getSocketWrappersForUserId (userId: string) { method registerPostPathPrefix (line 121) | public registerPostPathPrefix (prefix: string, handler:... method registerGetPathPrefix (line 126) | public registerGetPathPrefix (prefix: string, handler: GetRequestHandl... method registerWebsocketEndpoint (line 131) | public registerWebsocketEndpoint (path: string, createSocketWrapper: S... method createHttpServer (line 169) | private createHttpServer () { method onUpgrade (line 180) | private onUpgrade ( method onRequest (line 201) | private onRequest ( method handlePost (line 232) | private handlePost (request: http.IncomingMessage, response: http.Serv... method handleGet (line 272) | private handleGet (request: http.IncomingMessage, response: http.Serve... method handleOptions (line 285) | private handleOptions ( method verifyOrigin (line 333) | private verifyOrigin ( method terminateResponse (line 368) | private terminateResponse (response: http.ServerResponse, code: number... method sendResponse (line 378) | private sendResponse ( FILE: src/services/http/uws/uws-http.ts type UWSHTTPInterface (line 8) | interface UWSHTTPInterface extends uws.AppOptions { type UserData (line 20) | interface UserData { class UWSHTTP (line 26) | class UWSHTTP extends DeepstreamPlugin implements DeepstreamHTTPService { method constructor (line 41) | constructor (private pluginOptions: UWSHTTPInterface, private services... method whenReady (line 73) | public async whenReady (): Promise { method close (line 118) | public async close (): Promise { method registerPostPathPrefix (line 132) | public registerPostPathPrefix (prefix: string, handler:... method registerGetPathPrefix (line 170) | public registerGetPathPrefix (prefix: string, handler: GetRequestHandl... method sendWebsocketMessage (line 197) | public sendWebsocketMessage (socket: uws.WebSocket, message:... method getSocketWrappersForUserId (line 206) | public getSocketWrappersForUserId (userId: string) { method registerWebsocketEndpoint (line 210) | public registerWebsocketEndpoint (path: string, createSocketWrapper: S... method terminateResponse (line 260) | private terminateResponse (response: uws.HttpResponse, code: number, m... method sendResponse (line 280) | private sendResponse ( method getHeaders (line 307) | public getHeaders (req: uws.HttpRequest) { method getSLLParams (line 314) | private getSLLParams (options: any) { method getVerifiedOriginHeaders (line 338) | private getVerifiedOriginHeaders (response: uws.HttpResponse, request:... method handleOptions (line 374) | private handleOptions (response: uws.HttpResponse, request: uws.HttpRe... function readJson (line 429) | function readJson (res: uws.HttpResponse, cb: Function, err: (code: numb... FILE: src/services/lock/distributed-lock-registry.ts class DistributedLockRegistry (line 15) | class DistributedLockRegistry extends DeepstreamPlugin implements Deepst... method constructor (line 26) | constructor (private pluginOptions: any, private services: Readonly { method shouldLog (line 34) | public shouldLog (logLevel: number): boolean { method debug (line 38) | public debug (event: EVENT, logMessage: string): void { method info (line 42) | public info (event: EVENT, logMessage: string): void { method warn (line 46) | public warn (event: EVENT, logMessage: string, metaData?: MetaData): v... method error (line 50) | public error (event: EVENT, logMessage: string, metaData?: MetaData): ... method fatal (line 54) | public fatal (event: EVENT, logMessage: string, metaData?: MetaData): ... method getNameSpace (line 59) | public getNameSpace (namespace: string): NamespacedLogger { method setLogLevel (line 73) | public setLogLevel (logLevel: LOG_LEVEL) { method log (line 80) | private log (logLevel: LOG_LEVEL, namespace: string, event: EVENT, log... FILE: src/services/monitoring/combine-monitoring.ts class CombineMonitoring (line 8) | class CombineMonitoring extends DeepstreamPlugin implements DeepstreamMo... method constructor (line 11) | constructor (private monitorings: DeepstreamMonitoring[]) { method whenReady (line 20) | public async whenReady () { method close (line 24) | public async close () { method init (line 28) | public init () { method onErrorLog (line 32) | public onErrorLog (loglevel: LOG_LEVEL, event: EVENT, logMessage: stri... method onLogin (line 37) | public onLogin (allowed: boolean, endpointType: string): void { method onMessageReceived (line 41) | public onMessageReceived (message: Message, socketData: SocketData): v... method onMessageSend (line 45) | public onMessageSend (message: Message): void { method onBroadcast (line 49) | public onBroadcast (message: Message, count: number): void { FILE: src/services/monitoring/http/monitoring-http.ts type HTTPMonitoringOptions (line 4) | interface HTTPMonitoringOptions { class HTTPMonitoring (line 11) | class HTTPMonitoring extends MonitoringBase { method constructor (line 15) | constructor (private pluginOptions: HTTPMonitoringOptions, services: D... method whenReady (line 28) | public async whenReady (): Promise { method close (line 52) | public async close (): Promise { FILE: src/services/monitoring/log/monitoring-log.ts type HTTPMonitoringOptions (line 4) | interface HTTPMonitoringOptions { class LogMonitoring (line 9) | class LogMonitoring extends MonitoringBase { method constructor (line 14) | constructor (private pluginOptions: HTTPMonitoringOptions, services: D... method whenReady (line 22) | public async whenReady (): Promise { method close (line 35) | public async close (): Promise { FILE: src/services/monitoring/monitoring-base.ts method constructor (line 14) | constructor (protected services: DeepstreamServices) { method onErrorLog (line 18) | public onErrorLog (loglevel: LOG_LEVEL, event: EVENT, logMessage: string... method onLogin (line 32) | public onLogin (allowed: boolean, endpointType: string): void { method onMessageReceived (line 41) | public onMessageReceived (message: Message): void { method onMessageSend (line 51) | public onMessageSend (message: Message): void { method onBroadcast (line 61) | public onBroadcast (message: Message, count: number): void { method getAndResetMonitoringStats (line 71) | public getAndResetMonitoringStats () { method getStateMetrics (line 87) | private getStateMetrics () { FILE: src/services/monitoring/noop-monitoring.ts class NoopMonitoring (line 4) | class NoopMonitoring extends DeepstreamPlugin implements DeepstreamMonit... method onErrorLog (line 7) | public onErrorLog (loglevel: LOG_LEVEL, event: EVENT, logMessage: stri... method onLogin (line 10) | public onLogin (allowed: boolean, endpointType: string): void { method onMessageReceived (line 13) | public onMessageReceived (message: Message, socketData: SocketData): v... method onMessageSend (line 16) | public onMessageSend (message: Message): void { method onBroadcast (line 19) | public onBroadcast (message: Message, count: number): void { FILE: src/services/permission/open/open-permission.ts class OpenPermission (line 8) | class OpenPermission extends DeepstreamPlugin implements DeepstreamPermi... method canPerformAction (line 14) | public canPerformAction (socketWrapper: SocketWrapper, message: Messag... FILE: src/services/permission/valve/config-compiler.ts function compileRuleset (line 30) | function compileRuleset (path: string, rules: any) { FILE: src/services/permission/valve/config-permission.ts constant UNDEFINED (line 10) | const UNDEFINED = 'undefined' type RuleType (line 12) | type RuleType = string type ValveSection (line 13) | type ValveSection = string class ConfigPermission (line 15) | class ConfigPermission extends DeepstreamPlugin implements DeepstreamPer... method constructor (line 32) | constructor (private permissionOptions: ValveConfig, private services:... method whenReady (line 43) | public async whenReady (): Promise { method close (line 46) | public async close () { method setRecordHandler (line 53) | public setRecordHandler (recordHandler: RecordHandler): void { method useConfig (line 64) | public useConfig (permissions: ValveSchema): void { method canPerformAction (line 88) | public canPerformAction (socketWrapper: SocketWrapper, message: Messag... method getCompiledRulesForName (line 129) | private getCompiledRulesForName (name: string, ruleSpecification: any)... FILE: src/services/permission/valve/config-schema.ts constant SCHEMA (line 3) | const SCHEMA: ConfigSchema = { FILE: src/services/permission/valve/path-parser.ts constant WILDCARD_REGEXP (line 1) | const WILDCARD_REGEXP = /\*/g constant WILDCARD_STRING (line 2) | const WILDCARD_STRING = '.*' constant VARIABLE_REGEXP (line 3) | const VARIABLE_REGEXP = /(\$[a-zA-Z0-9]+)/g constant VARIABLE_STRING (line 4) | const VARIABLE_STRING = '([^/]+)' constant INVALID_VARIABLE_REGEXP (line 5) | const INVALID_VARIABLE_REGEXP = /(\$[^a-zA-Z0-9])/ FILE: src/services/permission/valve/rule-application.ts constant OPEN (line 8) | const OPEN = 'open' constant LOADING (line 9) | const LOADING = 'loading' constant ERROR (line 10) | const ERROR = 'error' constant UNDEFINED (line 12) | const UNDEFINED = 'undefined' constant STRING (line 13) | const STRING = 'string' type RuleApplicationParams (line 15) | interface RuleApplicationParams { class RuleApplication (line 35) | class RuleApplication { method constructor (line 53) | constructor (private params: RuleApplicationParams) { method run (line 72) | private run (): void { method onRuleError (line 111) | private onRuleError (error: string): void { method onLoadComplete (line 126) | private onLoadComplete (recordName: string, version: number, data: any... method onLoadError (line 139) | private onLoadError (event: any, errorMessage: string, recordName: str... method destroy (line 151) | private destroy () { method getCurrentData (line 176) | private getCurrentData (): any { method getRecordPatchData (line 210) | private getRecordPatchData (msg: RecordWriteMessage): any { method getOldData (line 247) | private getOldData (): any { method getArguments (line 263) | private getArguments (): any[] { method getUser (line 279) | private getUser (): any { method getPathVars (line 295) | private getPathVars (): string[] { method isReady (line 311) | private isReady (): boolean { method loadRecord (line 331) | private loadRecord (recordName: string): void { method createNewRecordRequest (line 356) | private createNewRecordRequest (recordName: string): void { method crossReference (line 374) | private crossReference (recordName: string): any | null { FILE: src/services/permission/valve/rule-cache.ts type CachedRule (line 3) | interface CachedRule { class RuleCache (line 8) | class RuleCache { method constructor (line 16) | constructor (config: ValveConfig) { method close (line 20) | public close () { method reset (line 27) | public reset (): void { method has (line 35) | public has (section: string, name: string, type: string): boolean { method get (line 42) | public get (section: string, name: string, type: string): string | und... method set (line 54) | public set (section: string, name: string, type: string, rule: string)... method purge (line 69) | private purge () { function toKey (line 83) | function toKey (section: string, name: string, type: string): string { FILE: src/services/permission/valve/rule-parser.ts constant FUNCTION_REGEXP (line 5) | const FUNCTION_REGEXP = /([\w]+(?:['"`]\])?)\s*\(/g constant USER_FUNCTION_REGEXP (line 6) | const USER_FUNCTION_REGEXP = /[^\w$]function[^\w$]|=>/g constant NEW_REGEXP (line 7) | const NEW_REGEXP = /(^|[^\w$])new[^\w$]/ constant OLD_DATA_REGEXP (line 8) | const OLD_DATA_REGEXP = /(^|[^\w~])oldData[^\w~]/ constant DATA_REGEXP (line 9) | const DATA_REGEXP = /(^|[^\w.~])data($|[^\w~])/ constant SUPPORTED_FUNCTIONS (line 11) | const SUPPORTED_FUNCTIONS = [ FILE: src/services/permission/valve/rules-map.ts type RuleType (line 4) | interface RuleType { name: string, data: boolean, oldData: boolean } constant RULE_TYPES (line 11) | const RULE_TYPES: Dictionary = { constant RULES_MAP (line 38) | const RULES_MAP: Dictionary<{ section: string, actions: Dictionary { method hasLocalSubscribers (line 292) | public hasLocalSubscribers (name: string): boolean { method setSubscriptionListener (line 299) | public setSubscriptionListener (listener: SubscriptionListener): void { method addSocket (line 305) | private addSocket (subscription: Subscription, socket: SocketWrapper):... method removeSocket (line 320) | private removeSocket (subscription: Subscription, socket: SocketWrappe... method onSocketClose (line 346) | private onSocketClose (socket: SocketWrapper): void { method illegalCleanup (line 363) | private illegalCleanup () { FILE: src/services/telemetry/deepstreamio-telemetry.ts constant TELEMETRY_URL (line 8) | const TELEMETRY_URL = process.env.TELEMETRY_URL || 'http://telemetry.dee... constant DEFAULT_UUID (line 9) | const DEFAULT_UUID = '00000000-0000-0000-0000-000000000000' type DeepstreamIOTelemetryOptions (line 11) | interface DeepstreamIOTelemetryOptions { class DeepstreamIOTelemetry (line 17) | class DeepstreamIOTelemetry extends DeepstreamPlugin implements Deepstre... method constructor (line 21) | constructor (private pluginOptions: DeepstreamIOTelemetryOptions, priv... method init (line 25) | public init () { method whenReady (line 42) | public async whenReady (): Promise { method close (line 79) | public async close (): Promise { method sendReport (line 82) | private sendReport (data: any): void { FILE: src/test/helper/test-helper.ts class PermissionHandler (line 72) | class PermissionHandler extends DeepstreamPlugin implements PermissionHa... method constructor (line 78) | constructor () { method canPerformAction (line 86) | public canPerformAction (socketWrapper: SocketWrapper, message: Messag... class MonitoringMock (line 93) | class MonitoringMock extends DeepstreamPlugin implements DeepstreamMonit... method onErrorLog (line 95) | public onErrorLog (loglevel: LOG_LEVEL, event: EVENT, logMessage: stri... method onLogin (line 97) | public onLogin (allowed: boolean, endpointType: string): void { method onMessageReceived (line 99) | public onMessageReceived (message: Message): void { method onMessageSend (line 101) | public onMessageSend (message: Message): void { method onBroadcast (line 103) | public onBroadcast (message: Message, count: number): void { method get (line 114) | get (name, cb) { cb(true) } method release (line 115) | release () {} FILE: src/test/helper/test-http-server.ts class TestHttpServer (line 4) | class TestHttpServer extends EventEmitter { method constructor (line 13) | constructor (private port: number, private callback: Function, private... method getRandomPort (line 19) | public static getRandomPort () { method getRequestHeader (line 23) | public getRequestHeader (key: string) { method reset (line 27) | public reset () { method respondWith (line 33) | public respondWith (statusCode: number, data: any) { method close (line 42) | public close (callback: Function) { method onListen (line 46) | private onListen () { method log (line 51) | private log (msg: string) { method onRequest (line 57) | private onRequest (request: http.IncomingMessage, response: http.Outgo... FILE: src/test/helper/test-mocks.ts function getSocketWrapper (line 48) | function getSocketWrapper (userId: string, authData: JSONObject = {}, cl... FILE: src/test/mock/authentication-handler-mock.ts class AuthenticationMock (line 3) | class AuthenticationMock extends DeepstreamPlugin implements DeepstreamA... method constructor (line 11) | constructor () { method reset (line 16) | public reset () { method isValidUser (line 24) | public async isValidUser (handshakeData: any, authData: any): Promise<... method onClientDisconnect (line 52) | public onClientDisconnect (username: string) { FILE: src/test/mock/http-mock.ts class HttpServerMock (line 3) | class HttpServerMock extends EventEmitter { method listen (line 9) | public listen (port: string, host: string, callback: Function) { method close (line 22) | public close (callback: Function) { method address (line 30) | public address () { method _simulateUpgrade (line 37) | public _simulateUpgrade (socket: any) { class HttpMock (line 54) | class HttpMock { method constructor (line 56) | constructor () { method createServer (line 60) | public createServer () { FILE: src/test/mock/logger-mock.ts class LoggerMock (line 4) | class LoggerMock extends DeepstreamPlugin implements DeepstreamLogger { method constructor (line 12) | constructor () { method shouldLog (line 22) | public shouldLog (logLevel: LOG_LEVEL): boolean { method warn (line 26) | public warn (event: EVENT | string, message?: string, metaData?: any) { method debug (line 31) | public debug (event: EVENT | string, message?: string, metaData?: any) { method info (line 36) | public info (event: EVENT | string, message?: string, metaData?: any) { method error (line 41) | public error (event: EVENT | string, message?: string, metaData?: any) { method fatal (line 46) | public fatal (event: string, message?: string | undefined, metaData?: ... method getNameSpace (line 51) | public getNameSpace (namespace: string): NamespacedLogger { method log (line 55) | private log (level: LOG_LEVEL, event: EVENT | string, message?: string... method setLogLevel (line 62) | public setLogLevel () { FILE: src/test/mock/message-connector-mock.ts class MessageConnectorMock (line 5) | class MessageConnectorMock extends DeepstreamPlugin implements Deepstrea... method constructor (line 16) | constructor (private options: any) { method reset (line 21) | public reset () { method subscribe (line 31) | public subscribe (topic: TOPIC, callback: (message: Mess... method sendBroadcast (line 36) | public sendBroadcast () { method send (line 39) | public send (message: Message, metaData?: any) { method sendDirect (line 45) | public sendDirect (serverName: string, message: Message) { method unsubscribe (line 52) | public unsubscribe (topic: TOPIC, callback: (message: Message) => void) { method simulateIncomingMessage (line 56) | public simulateIncomingMessage (topic: TOPIC, msg: Message, serverName... method getAll (line 60) | public getAll () { method isLeader (line 64) | public isLeader () { method getLeader (line 68) | public getLeader () { method getCurrentLeader (line 72) | public getCurrentLeader () { method subscribeServerDisconnect (line 76) | public subscribeServerDisconnect () { FILE: src/test/mock/permission-handler-mock.ts class PermissionHandlerMock (line 4) | class PermissionHandlerMock extends DeepstreamPlugin { method constructor (line 9) | constructor () { method reset (line 14) | public reset () { method canPerformAction (line 19) | public canPerformAction (socketWrapper: SocketWrapper, message: Messag... FILE: src/test/mock/plugin-mock.ts class PluginMock (line 4) | class PluginMock extends DeepstreamPlugin { method constructor (line 9) | constructor (private options: any, services: DeepstreamServices, confi... method setReady (line 13) | public setReady () { method whenReady (line 18) | public async whenReady () { FILE: src/test/mock/socket-mock.ts class SocketMock (line 3) | class SocketMock { method constructor (line 13) | constructor () { method send (line 23) | public send (message: Message) { method end (line 28) | public end () { method getMsg (line 31) | public getMsg (i: number) { method getMsgSize (line 35) | public getMsgSize () { method close (line 39) | public close () { method destroy (line 45) | public destroy () { method doClose (line 49) | public doClose () { FILE: src/test/mock/socket-wrapper-factory-mock.ts class SocketWrapperMock (line 4) | class SocketWrapperMock extends EventEmitter { method constructor (line 15) | constructor (private handshakeData: any) { method sendAckMessage (line 19) | public sendAckMessage (message: Message) { method getHandshakeData (line 23) | public getHandshakeData () { method sendError (line 27) | public sendError (/* topic, type, msg */) { method sendMessage (line 30) | public sendMessage (message: Message) { method parseData (line 34) | public parseData (message: Message) { method send (line 46) | public send (/* message */) { method destroy (line 49) | public destroy () { method close (line 55) | public close () { method setUpHandshakeData (line 59) | public setUpHandshakeData () { FILE: src/test/mock/storage-mock.ts class StorageMock (line 4) | class StorageMock extends DeepstreamPlugin implements DeepstreamStorage,... method constructor (line 22) | constructor () { method reset (line 27) | public reset () { method head (line 45) | public head (recordName: string, callback: any): void { method headBulk (line 49) | public headBulk (recordNames: string[], callback: any): void { method deleteBulk (line 53) | public deleteBulk (keys: string[], callback: StorageWriteCallback) { method delete (line 71) | public delete (key: string, callback: StorageWriteCallback) { method hadGetFor (line 89) | public hadGetFor (key: string) { method triggerLastGetCallback (line 99) | public triggerLastGetCallback (errorMessage: string, value: JSONObject) { method get (line 105) | public get (key: string, callback: StorageReadCallback) { method set (line 123) | public set (key: string, version: number, value: JSONObject, callback:... FILE: src/utils/dependency-initialiser.ts class DependencyInitialiser (line 4) | class DependencyInitialiser { method constructor (line 12) | constructor (private config: DeepstreamConfig, private services: Deeps... method whenReady (line 34) | public async whenReady (): Promise { method getDependency (line 43) | public getDependency (): DeepstreamPlugin { method onReady (line 50) | private onReady (): void { method onTimeout (line 66) | private onTimeout (): void { FILE: src/utils/json-path.ts constant SPLIT_REG_EXP (line 1) | const SPLIT_REG_EXP = /[[\]]/g function getValue (line 7) | function getValue (data: any, path: string): any { function setValue (line 28) | function setValue (root: any, path: string, value: any): void { function tokenize (line 56) | function tokenize (path: string): Array { FILE: src/utils/message-distributor.ts class MessageDistributor (line 8) | class MessageDistributor { method constructor (line 11) | constructor (options: DeepstreamConfig, private services: DeepstreamSe... method distribute (line 17) | public distribute (socketWrapper: SocketWrapper, message: Message) { method registerForTopic (line 37) | public registerForTopic (topic: TOPIC, callback: (message: Message) =>... method onMessageConnectorMessage (line 54) | private onMessageConnectorMessage (callback: Function, message: Messag... FILE: src/utils/message-processor.ts class MessageProcessor (line 10) | class MessageProcessor { method constructor (line 13) | constructor (config: DeepstreamConfig, private services: DeepstreamSer... method onAuthenticatedMessage (line 23) | public onAuthenticatedMessage (socketWrapper: SocketWrapper, message: ... method process (line 34) | public process (socketWrapper: SocketWrapper, parsedMessages: Message[... method onBulkPermissionResponse (line 77) | private onBulkPermissionResponse (socketWrapper: SocketWrapper, messag... method onPermissionResponse (line 100) | private onPermissionResponse (socketWrapper: SocketWrapper, message: M... method processInvalidResponse (line 108) | private processInvalidResponse (socketWrapper: SocketWrapper, message:... FILE: src/utils/utils.spec.ts function _map (line 57) | function _map () { function _schema (line 65) | function _schema () { FILE: telemetry-server/telemetry-server.ts function insertStats (line 10) | async function insertStats (stats: any) { FILE: test-e2e/framework-v3/client-handler.ts type E2EClient (line 5) | interface E2EClient { function createClient (line 13) | function createClient (clientName: string, server: string, options?: any) { function getClientNames (line 133) | function getClientNames (expression: string) { function getClients (line 147) | function getClients (expression: string) { function assertNoErrors (line 151) | function assertNoErrors (client: string) { FILE: test-e2e/framework-v3/client.ts method logsOut (line 17) | logsOut (clientExpression: string, done: Function) { method connect (line 25) | connect (clientExpression: string, server: string) { method connectAndLogin (line 31) | connectAndLogin (clientExpression: string, server: string, done: Functio... method login (line 42) | login (clientExpression: string, username: string, password: string, don... method attemptLogin (line 55) | attemptLogin (clientExpression: string, username: string, password: stri... method receivedTooManyLoginAttempts (line 64) | receivedTooManyLoginAttempts (clientExpression: string) { method recievesNoLoginResponse (line 73) | recievesNoLoginResponse (clientExpression: string) { method recievesLoginResponse (line 79) | recievesLoginResponse (clientExpression: string, loginFailed: boolean, d... method connectionTimesOut (line 97) | connectionTimesOut (clientExpression: string, done: Function) { method receivedErrorOnce (line 108) | receivedErrorOnce (clientExpression: string, topicName: string, eventNam... method receivedOneError (line 118) | receivedOneError (clientExpression: string, topicName: string, eventName... method callbackCalled (line 132) | callbackCalled (clientExpression: string, eventName: string, notCalled: ... method receivedNoErrors (line 152) | receivedNoErrors (clientExpression: string) { method hadConnectionState (line 158) | hadConnectionState (clientExpression: string, had: boolean, state: boole... FILE: test-e2e/framework-v3/event.ts method received (line 6) | received (clientExpression: string, doesReceive: boolean, subscriptionNa... method publishes (line 23) | publishes (clientExpression: string, subscriptionName: string, data: str... method subscribes (line 29) | subscribes (clientExpression: string, subscriptionName: string) { method unsubscribes (line 36) | unsubscribes (clientExpression: string, subscriptionName: string) { FILE: test-e2e/framework-v3/listening.ts type ListenType (line 6) | type ListenType = 'record' | 'event' method doesNotRecieveMatch (line 9) | doesNotRecieveMatch (client: string, type: ListenType, match: boolean, p... method recievesMatch (line 14) | recievesMatch (client: string, count: number, type: ListenType, subscrip... method receivedUnMatch (line 19) | receivedUnMatch (client: string, count: number, type: ListenType, subscr... method setupListenResponse (line 28) | setupListenResponse (client: string, accepts: boolean, type: ListenType,... method listens (line 34) | listens (client: string, type: ListenType, pattern: string) { method unlistens (line 54) | unlistens (client: string, type: ListenType, pattern: string) { FILE: test-e2e/framework-v3/presence.ts method notifiedUserStateChanged (line 10) | notifiedUserStateChanged (notifeeExpression: string, not: boolean, notif... method globalQueryResult (line 23) | globalQueryResult (clientExpression: string, error: null | string, users... method queryResult (line 39) | queryResult (clientExpression: string, users: string[], online: boolean) { method subscribe (line 54) | subscribe (clientExpression: string, user?: string) { method unsubscribe (line 71) | unsubscribe (clientExpression: string, user?: string) { method getAll (line 81) | getAll (clientExpression: string, users?: string[]) { FILE: test-e2e/framework-v3/record.ts function getRecordData (line 7) | function getRecordData (clientExpression: string, recordName: string) { function getListData (line 11) | function getListData (clientExpression: string, listName: string) { method deleted (line 16) | deleted (clientExpression: string, recordName: string, called: boolean) { method discarded (line 28) | discarded (clientExpression: string, recordName: string, called: boolean) { method receivedUpdate (line 39) | receivedUpdate (clientExpression: string, recordName: string, data: stri... method receivedUpdateForPath (line 48) | receivedUpdateForPath (clientExpression: string, recordName: string, pat... method receivedNoUpdate (line 57) | receivedNoUpdate (clientExpression: string, recordName: string) { method receivedNoUpdateForPath (line 63) | receivedNoUpdateForPath (clientExpression: string, recordName: string, p... method receivedRecordError (line 69) | receivedRecordError (clientExpression: string, error: string, recordName... method hasData (line 78) | hasData (clientExpression: string, recordName: string, data: string) { method hasProviders (line 85) | hasProviders (clientExpression: string, recordName: string, without: boo... method hasDataAtPath (line 91) | hasDataAtPath (clientExpression: string, recordName: string, path: strin... method writeAckSuccess (line 98) | writeAckSuccess (clientExpression: string, recordName: string) { method writeAckError (line 113) | writeAckError (clientExpression: string, recordName: string, errorMessag... method snapshotSuccess (line 130) | snapshotSuccess (clientExpression: string, recordName: string, data: str... method snapshotError (line 138) | snapshotError (clientExpression: string, recordName: string, data: strin... method headSuccess (line 148) | headSuccess (clientExpression: string, recordName: string, data: number) { method headError (line 156) | headError (clientExpression: string, recordName: string, data: string) { method has (line 164) | has (clientExpression: string, recordName: string, expected: boolean) { method hasEntries (line 172) | hasEntries (clientExpression: string, listName: string, data: string) { method addedNotified (line 179) | addedNotified (clientExpression: string, listName: string, entryName: st... method removedNotified (line 185) | removedNotified (clientExpression: string, listName: string, entryName: ... method movedNotified (line 191) | movedNotified (clientExpression: string, listName: string, entryName: st... method listChanged (line 197) | listChanged (clientExpression: string, listName: string, data: string) { method anonymousRecordContains (line 205) | anonymousRecordContains (clientExpression: string, data: string) { method getRecord (line 216) | getRecord (clientExpression: string, recordName: string) { method subscribe (line 237) | subscribe (clientExpression: string, recordName: string, immediate: bool... method unsubscribe (line 243) | unsubscribe (clientExpression: string, recordName: string) { method subscribeWithPath (line 249) | subscribeWithPath (clientExpression: string, recordName: string, path: s... method unsubscribeFromPath (line 256) | unsubscribeFromPath (clientExpression: string, recordName: string, path:... method discard (line 262) | discard (clientExpression: string, recordName: string) { method delete (line 268) | delete (clientExpression: string, recordName: string) { method setupWriteAck (line 274) | setupWriteAck (clientExpression: string, recordName: string) { method set (line 280) | set (clientExpression: string, recordName: string, data: string) { method setWithPath (line 290) | setWithPath (clientExpression: string, recordName: string, path: string,... method erase (line 300) | erase (clientExpression: string, recordName: string, path: string) { method setData (line 310) | setData (clientExpression: string, recordName: string, data: string) { method setDataWithWriteAck (line 316) | setDataWithWriteAck (clientExpression: string, recordName: string, data:... method setDataWithPath (line 326) | setDataWithPath (clientExpression: string, recordName: string, path: str... method snapshot (line 332) | snapshot (clientExpression: string, recordName: string) { method has (line 338) | has (clientExpression: string, recordName: string) { method head (line 344) | head (clientExpression: string, recordName: string) { method getList (line 354) | getList (clientExpression: string, listName: string) { method setEntries (line 376) | setEntries (clientExpression: string, listName: string, data: string) { method addEntry (line 383) | addEntry (clientExpression: string, listName: string, entryName: string) { method removeEntry (line 389) | removeEntry (clientExpression: string, listName: string, entryName: stri... method getAnonymousRecord (line 399) | getAnonymousRecord (clientExpression: string) { method setName (line 405) | setName (clientExpression: string, recordName: string) { FILE: test-e2e/framework-v3/rpc.ts method recievesResponse (line 65) | recievesResponse (clientExpression: string, rpc: string, data: string) { method recievesResponseWithError (line 73) | recievesResponseWithError (clientExpression: string, eventually: boolean... method providerCalled (line 84) | providerCalled (clientExpression: string, rpc: string, timesCalled: numb... method provide (line 98) | provide (clientExpression: string, rpc: string) { method unprovide (line 105) | unprovide (clientExpression: string, rpc: string) { method make (line 111) | make (clientExpression: string, rpc: string, data: string) { FILE: test-e2e/framework-v3/world.ts method endTest (line 6) | endTest (done: (...args: any[]) => void) { FILE: test-e2e/framework/client-handler.ts type E2EClient (line 5) | interface E2EClient { function createClient (line 13) | function createClient (clientName: string, server: string, options?: any) { function getClientNames (line 133) | function getClientNames (expression: string) { function getClients (line 147) | function getClients (expression: string) { function assertNoErrors (line 151) | function assertNoErrors (client: string) { FILE: test-e2e/framework/client.ts method logsOut (line 7) | logsOut (clientExpression: string, done: Function) { method connect (line 15) | connect (clientExpression: string, server: string) { method connectAndLogin (line 21) | connectAndLogin (clientExpression: string, server: string, done: Functio... method login (line 32) | login (clientExpression: string, username: string, password: string, don... method attemptLogin (line 45) | attemptLogin (clientExpression: string, username: string, password: stri... method receivedTooManyLoginAttempts (line 54) | receivedTooManyLoginAttempts (clientExpression: string) { method recievesNoLoginResponse (line 62) | recievesNoLoginResponse (clientExpression: string) { method recievesLoginResponse (line 68) | recievesLoginResponse (clientExpression: string, loginFailed: boolean, d... method connectionTimesOut (line 86) | connectionTimesOut (clientExpression: string, done: Function) { method receivedErrorOnce (line 97) | receivedErrorOnce (clientExpression: string, topicName: string, eventNam... method receivedOneError (line 107) | receivedOneError (clientExpression: string, topicName: string, eventName... method callbackCalled (line 118) | callbackCalled (clientExpression: string, eventName: string, notCalled: ... method receivedNoErrors (line 138) | receivedNoErrors (clientExpression: string) { method hadConnectionState (line 144) | hadConnectionState (clientExpression: string, had: boolean, state: boole... FILE: test-e2e/framework/event.ts method received (line 6) | received (clientExpression: string, doesReceive: boolean, subscriptionNa... method publishes (line 23) | publishes (clientExpression: string, subscriptionName: string, data: str... method subscribes (line 29) | subscribes (clientExpression: string, subscriptionName: string) { method unsubscribes (line 36) | unsubscribes (clientExpression: string, subscriptionName: string) { FILE: test-e2e/framework/listening.ts type ListenType (line 7) | type ListenType = 'record' | 'event' method doesNotRecieveMatch (line 10) | doesNotRecieveMatch (client: string, type: ListenType, match: boolean, p... method recievesMatch (line 15) | recievesMatch (client: string, count: number, type: ListenType, subscrip... method receivedUnMatch (line 20) | receivedUnMatch (client: string, count: number, type: ListenType, subscr... method setupListenResponse (line 29) | setupListenResponse (client: string, accepts: boolean, type: ListenType,... method listens (line 35) | listens (client: string, type: ListenType, pattern: string) { method unlistens (line 52) | unlistens (client: string, type: ListenType, pattern: string) { FILE: test-e2e/framework/presence.ts method notifiedUserStateChanged (line 9) | notifiedUserStateChanged (notifeeExpression: string, not: boolean, notif... method globalQueryResult (line 22) | globalQueryResult (clientExpression: string, error: null | string, users... method queryResult (line 34) | queryResult (clientExpression: string, users: string[], online: boolean) { method subscribe (line 49) | subscribe (clientExpression: string, user?: string) { method unsubscribe (line 62) | unsubscribe (clientExpression: string, user?: string) { method getAll (line 72) | getAll (clientExpression: string, users?: string[]) { FILE: test-e2e/framework/record.ts function getRecordData (line 6) | function getRecordData (clientExpression: string, recordName: string) { function getListData (line 10) | function getListData (clientExpression: string, listName: string) { method deleted (line 15) | deleted (clientExpression: string, recordName: string, called: boolean) { method discarded (line 27) | discarded (clientExpression: string, recordName: string, called: boolean) { method receivedUpdate (line 38) | receivedUpdate (clientExpression: string, recordName: string, data: stri... method receivedUpdateForPath (line 47) | receivedUpdateForPath (clientExpression: string, recordName: string, pat... method receivedNoUpdate (line 56) | receivedNoUpdate (clientExpression: string, recordName: string) { method receivedNoUpdateForPath (line 62) | receivedNoUpdateForPath (clientExpression: string, recordName: string, p... method receivedRecordError (line 68) | receivedRecordError (clientExpression: string, error: string, recordName... method hasData (line 75) | hasData (clientExpression: string, recordName: string, data: string) { method hasProviders (line 82) | hasProviders (clientExpression: string, recordName: string, without: boo... method hasDataAtPath (line 88) | hasDataAtPath (clientExpression: string, recordName: string, path: strin... method writeAckSuccess (line 95) | writeAckSuccess (clientExpression: string, recordName: string) { method writeAckError (line 110) | writeAckError (clientExpression: string, recordName: string, errorMessag... method snapshotSuccess (line 125) | snapshotSuccess (clientExpression: string, recordName: string, data: str... method snapshotError (line 133) | snapshotError (clientExpression: string, recordName: string, data: strin... method headSuccess (line 141) | headSuccess (clientExpression: string, recordName: string, data: number) { method headError (line 149) | headError (clientExpression: string, recordName: string, data: string) { method has (line 157) | has (clientExpression: string, recordName: string, expected: boolean) { method hasEntries (line 165) | hasEntries (clientExpression: string, listName: string, data: string) { method addedNotified (line 172) | addedNotified (clientExpression: string, listName: string, entryName: st... method removedNotified (line 178) | removedNotified (clientExpression: string, listName: string, entryName: ... method movedNotified (line 184) | movedNotified (clientExpression: string, listName: string, entryName: st... method listChanged (line 190) | listChanged (clientExpression: string, listName: string, data: string) { method anonymousRecordContains (line 198) | anonymousRecordContains (clientExpression: string, data: string) { method getRecord (line 209) | getRecord (clientExpression: string, recordName: string) { method subscribe (line 230) | subscribe (clientExpression: string, recordName: string, immediate: bool... method unsubscribe (line 236) | unsubscribe (clientExpression: string, recordName: string) { method subscribeWithPath (line 242) | subscribeWithPath (clientExpression: string, recordName: string, path: s... method unsubscribeFromPath (line 249) | unsubscribeFromPath (clientExpression: string, recordName: string, path:... method discard (line 255) | discard (clientExpression: string, recordName: string) { method delete (line 261) | delete (clientExpression: string, recordName: string) { method setupWriteAck (line 267) | setupWriteAck (clientExpression: string, recordName: string) { method set (line 273) | set (clientExpression: string, recordName: string, data: string) { method setWithPath (line 283) | setWithPath (clientExpression: string, recordName: string, path: string,... method erase (line 293) | erase (clientExpression: string, recordName: string, path: string) { method setData (line 303) | setData (clientExpression: string, recordName: string, data: string) { method setDataWithWriteAck (line 309) | setDataWithWriteAck (clientExpression: string, recordName: string, data:... method setDataWithPath (line 319) | setDataWithPath (clientExpression: string, recordName: string, path: str... method snapshot (line 325) | snapshot (clientExpression: string, recordName: string) { method has (line 331) | has (clientExpression: string, recordName: string) { method head (line 337) | head (clientExpression: string, recordName: string) { method getList (line 347) | getList (clientExpression: string, listName: string) { method setEntries (line 369) | setEntries (clientExpression: string, listName: string, data: string) { method addEntry (line 376) | addEntry (clientExpression: string, listName: string, entryName: string) { method removeEntry (line 382) | removeEntry (clientExpression: string, listName: string, entryName: stri... method getAnonymousRecord (line 392) | getAnonymousRecord (clientExpression: string) { method setName (line 398) | setName (clientExpression: string, recordName: string) { FILE: test-e2e/framework/rpc.ts method recievesResponse (line 65) | recievesResponse (clientExpression: string, rpc: string, data: string) { method recievesResponseWithError (line 73) | recievesResponseWithError (clientExpression: string, eventually: boolean... method providerCalled (line 84) | providerCalled (clientExpression: string, rpc: string, timesCalled: numb... method provide (line 98) | provide (clientExpression: string, rpc: string) { method unprovide (line 105) | unprovide (clientExpression: string, rpc: string) { method make (line 111) | make (clientExpression: string, rpc: string, data: string) { FILE: test-e2e/framework/world.ts method endTest (line 6) | endTest (done: (...args: any[]) => void) { FILE: test-e2e/tools/e2e-authentication.ts type AuthData (line 4) | interface AuthData { class E2EAuthentication (line 10) | class E2EAuthentication extends DeepstreamPlugin implements DeepstreamAu... method isValidUser (line 20) | public async isValidUser (headers: JSONObject, authData: AuthData) { FILE: test-e2e/tools/e2e-cluster-node.ts class E2EClusterNode (line 5) | class E2EClusterNode extends DeepstreamPlugin implements DeepstreamClust... method constructor (line 9) | constructor (options: any, services: DeepstreamServices, private confi... method sendDirect (line 14) | public sendDirect (toServer: string, message: Message, metaData?: any)... method send (line 21) | public send (message: Message, metaData?: any): void { method subscribe (line 32) | public subscribe (topic: STATE_REGISTRY_TOPIC, callba... method close (line 41) | public async close () { FILE: test-e2e/tools/e2e-harness.ts constant SERVER_STOP_OR_START_DURATION (line 16) | const SERVER_STOP_OR_START_DURATION = 200 class E2EHarness (line 20) | class E2EHarness extends EventEmitter { method constructor (line 23) | constructor (private ports: number[], private enableLogging: boolean =... method getServerName (line 28) | public getServerName (serverId: number) { method getUrl (line 32) | public getUrl (serverId: number) { method getHttpUrl (line 36) | public getHttpUrl (serverId: number) { method getAuthUrl (line 40) | public getAuthUrl (serverId: number) { method updateStorageDirectly (line 44) | public async updateStorageDirectly (recordName: string, version: numbe... method deleteFromStorageDirectly (line 52) | public async deleteFromStorageDirectly (recordName: string) { method start (line 60) | public async start () { method stop (line 67) | public async stop () { method updatePermissions (line 72) | public async updatePermissions (type: string) { method stopServer (line 80) | public stopServer (serverId: number) { method startServer (line 101) | public async startServer (serverId: number) { method whenReady (line 123) | public async whenReady () { method whenStopped (line 134) | public async whenStopped () { FILE: test-e2e/tools/e2e-logger.ts type Log (line 3) | interface Log { class E2ELogger (line 9) | class E2ELogger extends DeepstreamPlugin implements DeepstreamLogger { method setLogLevel (line 14) | public setLogLevel (logLevel: LOG_LEVEL): void { method shouldLog (line 18) | public shouldLog () { method error (line 22) | public error (event: EVENT, logMessage: string) { method warn (line 26) | public warn (event: EVENT, logMessage: string) { method info (line 30) | public info (event: EVENT, logMessage: string) { method debug (line 34) | public debug (event: EVENT, logMessage: string) { method fatal (line 38) | public fatal (event: EVENT, logMessage: string) { method getNameSpace (line 42) | public getNameSpace (namespace: string): NamespacedLogger { method log (line 53) | private log (logLevel: LOG_LEVEL, event: EVENT, logMessage: string) { FILE: types/global.d.ts type Global (line 2) | interface Global { FILE: types/uws.d.ts type us_listen_socket (line 18) | interface us_listen_socket { type us_socket (line 25) | interface us_socket { type us_socket_context_t (line 31) | interface us_socket_context_t { type RecognizedString (line 45) | type RecognizedString = string | ArrayBuffer | Uint8Array | Int8Array | ... type WebSocket (line 50) | interface WebSocket { type HttpResponse (line 112) | interface HttpResponse { type HttpRequest (line 206) | interface HttpRequest { type WebSocketBehavior (line 228) | interface WebSocketBehavior { type AppOptions (line 268) | interface AppOptions { type ListenOptions (line 279) | enum ListenOptions { type TemplatedApp (line 285) | interface TemplatedApp { type MultipartField (line 344) | interface MultipartField { type CompressOptions (line 355) | type CompressOptions = number;