internal async Task SendCommandAsyncInternal(Command c)
        {
            await _comm.WriteAsync(c.ToBytes());

            if (c.CommandType == CommandType.DirectReply || c.CommandType == CommandType.SystemReply)
            {
                await ResponseManager.WaitForResponseAsync(c.Response);
            }
        }
Example #2
0
		internal async Task SendCommandAsyncInternal(Command c)
		{
			await _comm.WriteAsync(c.ToBytes());
			if(c.CommandType == CommandType.DirectReply || c.CommandType == CommandType.SystemReply)
				await ResponseManager.WaitForResponseAsync(c.Response);
		}