"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EXT_HOST_PROXY_IDENTIFIER = exports.EXT_SERVER_IDENTIFIER = exports.EXT_HOST_PROXY_PROTOCOL = exports.EXT_HOST_PROXY_SERVER_PROT = void 0;
const ide_connection_1 = require("@opensumi/ide-connection");
/**
 * 代理服务监听的端口，可以通过 constructor 修改参数
 * @example
 * ```ts
 * injector.addProviders({
 *   token: IExtensionHostManager,
 *   useFactory: (injector) => {
 *     return injector.get(ExtensionHostProxyManager, [{
 *       port: 10299,
 *     }]);
 *   },
 * });
 * ```
 */
exports.EXT_HOST_PROXY_SERVER_PROT = 10299;
/**
 * 用于插件后端服务和插件进程代理服务通信的 key
 */
exports.EXT_HOST_PROXY_PROTOCOL = 'EXT_HOST_PROXY_PROTOCOL';
/**
 * 插件后端服务 RPC Identifier
 */
exports.EXT_SERVER_IDENTIFIER = new ide_connection_1.ProxyIdentifier('EXT_SERVER_IDENTIFIER');
/**
 * 插件进程代理 RPC Identifier
 */
exports.EXT_HOST_PROXY_IDENTIFIER = new ide_connection_1.ProxyIdentifier('EXT_HOST_PROXY_IDENTIFIER');
//# sourceMappingURL=ext.host.proxy.js.map