[improv]优化Packet.ToArray性能问题
大石头 authored at 2024-09-11 09:04:36 大石头 committed at 2024-09-11 09:10:28
450.00 B
X
using System;

namespace NewLife.Model
{
    /// <summary>服务接口。</summary>
    /// <remarks>服务代理XAgent可以附加代理实现了IServer接口的服务。</remarks>
    public interface IServer
    {
        /// <summary>开始</summary>
        void Start();

        /// <summary>停止</summary>
        /// <param name="reason">关闭原因。便于日志分析</param>
        void Stop(String reason);
    }
}