示例#1
0
        /// <summary>
        /// Executes the command and sends response.
        /// </summary>
        /// <param name="s">The session.</param>
        /// <param name="i">The package info.</param>
        public override void ExecuteCommand(Session s, Package p)
        {
            var Request = new Libraries.packages.todo.PacketBSendBugReport(p.Content);

            if (s.Logger.IsDebugEnabled)
            {
                s.Logger.Debug($"Execute command: {Request}");
            }
        }
示例#2
0
        /// <summary>
        /// Executes the command and sends response.
        /// </summary>
        /// <param name="s">The session.</param>
        /// <param name="p">The package info.</param>
        public override void ExecuteCommand(Session s, Package p)
        {
            var Request = new Libraries.packages.todo.PacketBSendBugReport(p.Content);

            Logger.Debug($"{p.Key}::ExecuteCommand - Execute command: {Request}");
        }