Home Reference Source
public class | source

NodeServer

You can directly use an instance of this class. nodeServer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
Private Members
private

_rooms: {"terminals": *, "browsers": *}

Method Summary

Public Methods
public

async getServerHTTPAddress(getIP: *): *

public

async initializeSocket(socket: *, validationDoubleConnectionsTypes: *): boolean

public

async startServer(): boolean

Private Methods
private

Public Constructors

public constructor() source

Public Members

public loaded: boolean source

public nodeServer: * source

Private Members

private _rooms: {"terminals": *, "browsers": *} source

Public Methods

public async getServerHTTPAddress(getIP: *): * source

Params:

NameTypeAttributeDescription
getIP *

Return:

*

public async initializeSocket(socket: *, validationDoubleConnectionsTypes: *): boolean source

Params:

NameTypeAttributeDescription
socket *
validationDoubleConnectionsTypes *

Return:

boolean

public async startServer(): boolean source

Return:

boolean

Private Methods

private _disconenctOldSockets() source