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 part of vmservice; | 5 part of vmservice; |
6 | 6 |
7 // A service client. | 7 // A service client. |
8 abstract class Client { | 8 abstract class Client { |
9 final VMService service; | 9 final VMService service; |
10 final bool sendEvents; | 10 final bool sendEvents; |
(...skipping 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 | 40 |
41 // Sends a result to the client. Implemented in subclasses. | 41 // Sends a result to the client. Implemented in subclasses. |
42 void post(dynamic result); | 42 void post(dynamic result); |
43 | 43 |
44 dynamic toJson() { | 44 dynamic toJson() { |
45 return { | 45 return { |
46 }; | 46 }; |
47 } | 47 } |
48 } | 48 } |
OLD | NEW |