| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fletch_agent.client; | 5 library fletch_agent.client; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 import 'dart:typed_data'; | 8 import 'dart:typed_data'; |
| 9 | 9 |
| 10 import '../lib/messages.dart'; | 10 import '../lib/messages.dart'; |
| 11 import '../lib/agent_connection.dart'; | 11 import '../lib/agent_connection.dart'; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 } | 161 } |
| 162 await connection.signalVm(pid, signal); | 162 await connection.signalVm(pid, signal); |
| 163 print('Send signal $signal to VM: id=$pid'); | 163 print('Send signal $signal to VM: id=$pid'); |
| 164 break; | 164 break; |
| 165 default: | 165 default: |
| 166 print('Invalid command: $cmd'); | 166 print('Invalid command: $cmd'); |
| 167 exit(1); | 167 exit(1); |
| 168 } | 168 } |
| 169 socket.close(); | 169 socket.close(); |
| 170 } | 170 } |
| OLD | NEW |