internal static async Task Handshake(ClientConnection connection, TestLoggerBackend logger, Handshake handshake, CancellationToken cancellationToken) { Connection.Debug("Client Handshake: {0}", handshake); handshake.EventSink = new EventSinkServant(connection, logger); var handshakeCommand = new HandshakeCommand(); await handshakeCommand.Send(connection, handshake, cancellationToken); cancellationToken.ThrowIfCancellationRequested(); Connection.Debug("Client Handshake done"); }
public EventSinkServant(ClientConnection connection, TestLoggerBackend logger) : base(connection) { Logger = logger; }