| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // TODO(johnmccutchan): Convert this into separate library which imports | 5 library vmservice_io; |
| 6 // the vmservice library. | |
| 7 | 6 |
| 8 part of vmservice; | 7 import 'dart:io'; |
| 8 import 'vmservice.dart'; |
| 9 |
| 10 part 'server.dart'; |
| 9 | 11 |
| 10 var _port; | 12 var _port; |
| 11 | 13 |
| 12 main() { | 14 main() { |
| 13 var service = new VmService(); | 15 // Create VmService. |
| 16 var service = new VMService(); |
| 17 // Start HTTP server. |
| 14 var server = new Server(service, _port); | 18 var server = new Server(service, _port); |
| 15 server.startServer(); | 19 server.startServer(); |
| 16 } | 20 } |
| OLD | NEW |