Fix a few issues that appeared during refactoring.

This commit is contained in:
Starbeamrainbowlabs 2016-10-20 17:52:39 +01:00
parent d4701f963d
commit 8e3c90d5aa
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ namespace PixelHub.Server
/// Starts listening for and handling messages that come from the remote PixelBot. /// Starts listening for and handling messages that come from the remote PixelBot.
/// </summary> /// </summary>
/// <param name="client">Client.</param> /// <param name="client">Client.</param>
public async Task Handle(TcpClient client) public async Task Handle()
{ {
if (Connected) if (Connected)
throw new InvalidOperationException("Only one connection handling loop can be active at once!"); throw new InvalidOperationException("Only one connection handling loop can be active at once!");

View File

@ -13,7 +13,7 @@ namespace PixelHub
/// <summary> /// <summary>
/// Specifies a single command that is to be sent to a PixelBot. /// Specifies a single command that is to be sent to a PixelBot.
/// </summary> /// </summary>
class PixelCommand public class PixelCommand
{ {
/// <summary> /// <summary>
/// The wheel(s) that should be operated upon. /// The wheel(s) that should be operated upon.