(tcpPort: string)
| 289 | } |
| 290 | |
| 291 | constructor(tcpPort: string) { |
| 292 | super(tcpPort); |
| 293 | this.on('connected', () => { |
| 294 | // When we connect we need to start a sequence of commands to configure the SWO stream. |
| 295 | // It starts with create pipe and is continued in the data callback |
| 296 | this.state = PeState.CREATE_PIPE; |
| 297 | this.createPipe(); |
| 298 | }); |
| 299 | } |
| 300 | |
| 301 | protected processData(buffer: Buffer): void { |
| 302 | let offset = 0; |
nothing calls this directly
no test coverage detected