@mos-connection/connector
Version:
MOS compliant TCP/IP Socket connection.
19 lines • 552 B
TypeScript
/// <reference types="node" />
import { Socket } from 'net';
import { ConnectionType } from './socketConnection';
/** */
export declare class Server {
private _sockets;
/** */
registerIncomingConnection(socketID: number, socket: Socket, portDescription: ConnectionType): void;
/** */
removeSocket(socketID: number): void;
private _getSockets;
/** */
get lowerPortSockets(): Socket[];
/** */
get upperPortSockets(): Socket[];
/** */
get queryPortSockets(): Socket[];
}
//# sourceMappingURL=Server.d.ts.map