| Index: pkg/analysis_server/lib/src/analysis_server.dart
|
| diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
|
| index af8c32eb0f8222ccb7850c817e7e32e3c3322286..152eacedf59d6949b972967a8b3200e1e166f6f2 100644
|
| --- a/pkg/analysis_server/lib/src/analysis_server.dart
|
| +++ b/pkg/analysis_server/lib/src/analysis_server.dart
|
| @@ -83,6 +83,11 @@ class AnalysisServer {
|
| final List<AnalysisContext> contextWorkQueue = new List<AnalysisContext>();
|
|
|
| /**
|
| + * A set of the [ServerService]s to send notifications for.
|
| + */
|
| + Set<ServerService> serverServices = new Set<ServerService>();
|
| +
|
| + /**
|
| * Initialize a newly created server to receive requests from and send
|
| * responses to the given [channel].
|
| */
|
| @@ -241,3 +246,15 @@ class AnalysisServer {
|
| });
|
| }
|
| }
|
| +
|
| +
|
| +/**
|
| + * An enumeration of the services provided by the server domain.
|
| + */
|
| +class ServerService extends Enum2<ServerService> {
|
| + static const ServerService STATUS = const ServerService('STATUS', 0);
|
| +
|
| + static const List<ServerService> VALUES = const [STATUS];
|
| +
|
| + const ServerService(String name, int ordinal) : super(name, ordinal);
|
| +}
|
|
|