//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.Hosting.Protocol
{
///
/// Interface for a JSON RPC host
///
public interface IJsonRpcHost : IEventSender, IRequestSender, IMessageDispatcher
{
///
/// Starts the JSON RPC host
///
void Start();
///
/// Stops the JSON RPC host
///
void Stop();
///
/// Waits for the JSON RPC host to exit
///
void WaitForExit();
}
}