| 347 | * |
| 348 | */ |
| 349 | export interface Remote { |
| 350 | /** |
| 351 | * Attach the remote to the given connection. |
| 352 | * |
| 353 | * @param connection The connection this remote is operating on. |
| 354 | */ |
| 355 | attach(connection: IConnection): void; |
| 356 | |
| 357 | /** |
| 358 | * The connection this remote is attached to. |
| 359 | */ |
| 360 | connection: IConnection; |
| 361 | |
| 362 | /** |
| 363 | * Called to initialize the remote with the given |
| 364 | * client capabilities |
| 365 | * |
| 366 | * @param capabilities The client capabilities |
| 367 | */ |
| 368 | initialize(capabilities: ClientCapabilities): void; |
| 369 | |
| 370 | /** |
| 371 | * Called to fill in the server capabilities this feature implements. |
| 372 | * |
| 373 | * @param capabilities The server capabilities to fill. |
| 374 | */ |
| 375 | fillServerCapabilities(capabilities: ServerCapabilities): void; |
| 376 | } |
| 377 | |
| 378 | /** |
| 379 | * The RemoteConsole interface contains all functions to interact with |
no outgoing calls
no test coverage detected