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);
            }
        }
Beispiel #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);
		}