"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const connection_endpoint_1 = require("../../base/connection-endpoint");
const socket_wrapper_factory_1 = require("./socket-wrapper-factory");
class WSJSONConnectionEndpoint extends connection_endpoint_1.default {
    constructor(wsOptions, services, config) {
        super(wsOptions, services, config);
        this.wsOptions = wsOptions;
        this.description = 'WS Text Connection Endpoint';
    }
    init() {
        super.init();
        this.services.httpService.registerWebsocketEndpoint(this.wsOptions.urlPath, socket_wrapper_factory_1.createWSSocketWrapper, this);
    }
}
exports.WSJSONConnectionEndpoint = WSJSONConnectionEndpoint;
//# sourceMappingURL=connection-endpoint.js.map