UNPKG

rete

Version:
15 lines (14 loc) 444 B
import { Connection } from './connection'; import { Socket } from './socket'; import { Node } from './node'; export declare class IO { node: Node | null; multipleConnections: boolean; connections: Connection[]; key: string; name: string; socket: Socket; constructor(key: string, name: string, socket: Socket, multiConns: boolean); removeConnection(connection: Connection): void; removeConnections(): void; }