|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
428 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | /** @typedef {import("../Server").ClientConnection} ClientConnection */
|
|---|
| 4 |
|
|---|
| 5 | // base class that users should extend if they are making their own
|
|---|
| 6 | // server implementation
|
|---|
| 7 | module.exports = class BaseServer {
|
|---|
| 8 | /**
|
|---|
| 9 | * @param {import("../Server")} server
|
|---|
| 10 | */
|
|---|
| 11 | constructor(server) {
|
|---|
| 12 | /** @type {import("../Server")} */
|
|---|
| 13 | this.server = server;
|
|---|
| 14 |
|
|---|
| 15 | /** @type {ClientConnection[]} */
|
|---|
| 16 | this.clients = [];
|
|---|
| 17 | }
|
|---|
| 18 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.