4 types derived from ServerResponse
rzc (4)
ServerProtocol\CompletedServerResponse.cs (1)
20
internal sealed class CompletedServerResponse :
ServerResponse
ServerProtocol\MismatchedVersionServerResponse.cs (1)
6
internal sealed class MismatchedVersionServerResponse :
ServerResponse
ServerProtocol\RejectedServerResponse.cs (1)
6
internal sealed class RejectedServerResponse :
ServerResponse
ServerProtocol\ShutdownServerResponse.cs (1)
6
internal sealed class ShutdownServerResponse :
ServerResponse
14 references to ServerResponse
rzc (14)
CompilerHost.cs (2)
17
public abstract
ServerResponse
Execute(ServerRequest request, CancellationToken cancellationToken);
40
public override
ServerResponse
Execute(ServerRequest request, CancellationToken cancellationToken)
DefaultRequestDispatcher.cs (5)
374
var
response = await worker;
411
private Task<
ServerResponse
> ExecuteRequestAsync(ServerRequest buildRequest, CancellationToken cancellationToken)
413
Func<
ServerResponse
> func = () =>
417
var
response = _compilerHost.Execute(buildRequest, cancellationToken);
423
var task = new Task<
ServerResponse
>(func, cancellationToken, TaskCreationOptions.LongRunning);
ServerProtocol\ServerConnection.cs (5)
91
public static Task<
ServerResponse
> RunOnServer(
115
private static async Task<
ServerResponse
> RunOnServerCore(
221
private static async Task<
ServerResponse
> TryProcessRequest(
226
ServerResponse
response;
247
var responseTask =
ServerResponse
.ReadAsync(client.Stream, serverCts.Token);
ServerProtocol\ServerResponse.cs (1)
89
public static async Task<
ServerResponse
> ReadAsync(Stream stream, CancellationToken cancellationToken = default(CancellationToken))
ShutdownCommand.cs (1)
53
var response = ((ShutdownServerResponse)await
ServerResponse
.ReadAsync(client.Stream, Cancelled));