Rename HeaderDelimitedMessageHandler class

This commit is contained in:
Andrew Arnott 2016-07-15 12:36:24 -07:00
Родитель 68014cfc5b
Коммит ab138af2fa
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -18,7 +18,7 @@ namespace StreamJsonRpc
/// This is based on the language server protocol spec:
/// https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#base-protocol
/// </remarks>
internal class HeaderDelimitedMessages : IDisposable
internal class HeaderDelimitedMessageHandler : IDisposable
{
private const int MaxHeaderSize = 1024;
@ -50,7 +50,7 @@ namespace StreamJsonRpc
private readonly AsyncSemaphore receivingSemaphore = new AsyncSemaphore(1);
private readonly byte[] receivingBuffer = new byte[MaxHeaderSize];
internal HeaderDelimitedMessages(Stream sendingStream, Stream receivingStream)
internal HeaderDelimitedMessageHandler(Stream sendingStream, Stream receivingStream)
{
this.sendingStream = sendingStream;
this.receivingStream = receivingStream;

Просмотреть файл

@ -41,7 +41,7 @@ namespace StreamJsonRpc
private bool disposed;
private bool hasDisconnectedEventBeenRaised;
private HeaderDelimitedMessages messageHandler;
private HeaderDelimitedMessageHandler messageHandler;
public static JsonRpc Attach(Stream stream, object target = null)
{
@ -58,7 +58,7 @@ namespace StreamJsonRpc
Requires.NotNull(sendingStream, nameof(sendingStream));
Requires.NotNull(receivingStream, nameof(receivingStream));
this.messageHandler = new StreamJsonRpc.HeaderDelimitedMessages(sendingStream, receivingStream);
this.messageHandler = new StreamJsonRpc.HeaderDelimitedMessageHandler(sendingStream, receivingStream);
this.callbackTarget = target;

Просмотреть файл

@ -19,7 +19,7 @@
<Compile Include="$(MSBuildThisFileDirectory)Exceptions\RemoteMethodNotFoundException.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Exceptions\RemoteRpcException.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Exceptions\RemoteTargetNotSetException.cs" />
<Compile Include="$(MSBuildThisFileDirectory)HeaderDelimitedMessages.cs" />
<Compile Include="$(MSBuildThisFileDirectory)HeaderDelimitedMessageHandler.cs" />
<Compile Include="$(MSBuildThisFileDirectory)JsonRpc.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Reflection\MethodSignature.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Reflection\TargetMethod.cs" />