OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 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 |
| 4 |
| 5 part of repositories; |
| 6 |
| 7 abstract class IsolateRef { |
| 8 String get id; |
| 9 int get number; |
| 10 String get name; |
| 11 } |
| 12 |
| 13 abstract class Isolate extends IsolateRef { |
| 14 DateTime get startTime; |
| 15 bool get runnable; |
| 16 } |
| 17 |
| 18 class IsolateEvent { |
| 19 final IsolateRef isolate; |
| 20 IsolateEvent(this.isolate); |
| 21 } |
| 22 |
| 23 class IsolateStartEvent extends IsolateEvent { |
| 24 IsolateStartEvent(IsolateRef isolate) : super(isolate); |
| 25 } |
| 26 |
| 27 class IsolateRunnableEvent extends IsolateEvent { |
| 28 IsolateRunnableEvent(IsolateRef isolate) : super(isolate); |
| 29 } |
| 30 |
| 31 class IsolateExitEvent extends IsolateEvent { |
| 32 IsolateExitEvent(IsolateRef isolate) : super(isolate); |
| 33 } |
| 34 |
| 35 class IsolateUpdateEvent extends IsolateEvent { |
| 36 IsolateUpdateEvent(IsolateRef isolate) : super(isolate); |
| 37 } |
| 38 |
| 39 class ServiceExtensionAdded extends IsolateEvent { |
| 40 ServiceExtensionAdded(IsolateRef isolate) : super(isolate); |
| 41 } |
OLD | NEW |