| 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 /// Port that lives as long as the network client. | 9 /// Port that lives as long as the network client. |
| 10 final RawReceivePort receivePort = new RawReceivePort(); | 10 final RawReceivePort receivePort = new RawReceivePort(); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 } | 34 } |
| 35 | 35 |
| 36 /// When implementing, responsible for sending [response] to the client. | 36 /// When implementing, responsible for sending [response] to the client. |
| 37 void post(var seq, String response); | 37 void post(var seq, String response); |
| 38 | 38 |
| 39 dynamic toJson() { | 39 dynamic toJson() { |
| 40 return { | 40 return { |
| 41 }; | 41 }; |
| 42 } | 42 } |
| 43 } | 43 } |
| OLD | NEW |