Properties
Private host
host: string
Private isExplicitlyTerminated
isExplicitlyTerminated: boolean = false
Protected logger
logger: any = new Logger(Server.name)
Protected messageHandlers
messageHandlers: any = new Map<string, MessageHandler>()
Private options
options: object
Type declaration
-
Optional host?: string
-
Optional port?: number
-
Optional retryAttempts?: number
-
Optional retryDelay?: number
Private port
port: number
Private retryAttemptsCount
retryAttemptsCount: number = 0
Private server
server: NetSocket