Binboo.Core.Application.ProcessReply C# (CSharp) Method

ProcessReply() private method

private ProcessReply ( Command command ) : void
command Command
return void
        private void ProcessReply(Command command)
        {
            try
            {
                var match = Regex.Match(command.Reply, @"CHATMESSAGE (?<MSG_ID>\d+) EDITED_TIMESTAMP (?<EDITED_TIMESTAMP>\d+)");
                if (match.Success)
                {
                    var msg = _skype.Message[int.Parse(match.Groups["MSG_ID"].Value)];
                    ProcessMessage(msg, TChatMessageStatus.cmsSent);
                }
            }
            catch (Exception ex)
            {
                RaiseErrorEvent("Error in Reply event handler.", ex);
            }
        }