import { ServerSocketIOGateway } from '../ServerSocketIOGateway'; import { Socket } from 'socket.io'; import { SocketIoGatewayOptions } from '../SocketIoGatewayFactory'; import { ClientConnection } from '../../ValueObject/ClientConnection'; export class SocketConnection implements ClientConnection { constructor(public readonly gateway: ServerSocketIOGateway, public readonly options: SocketIoGatewayOptions, public readonly client: Socket) { } }