()
| 153 | public get adapterProcess(): cp.ChildProcess | undefined { return this._adapterProcess; } |
| 154 | |
| 155 | public stopAdapter() { |
| 156 | if (this._adapterProcess) { |
| 157 | this._adapterProcess.kill(); |
| 158 | this._adapterProcess = undefined; |
| 159 | } |
| 160 | if (this._socket) { |
| 161 | this._socket.end(); |
| 162 | this._socket = undefined; |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | // ---- protocol requests ------------------------------------------------------------------------------------------------- |
| 167 |