IMsgController.cs 380 B

12345678910111213141516
  1. 
  2. namespace XGame.Framework.Network
  3. {
  4. /// <summary>
  5. /// 网络消息业务处理
  6. /// </summary>
  7. public interface IMsgController
  8. {
  9. /// <summary>
  10. /// 业务处理
  11. /// </summary>
  12. /// <param name="msg"></param>
  13. /// <param name="listener"></param>
  14. void Process(IMessage msg, IMsgReceiverListener listener);
  15. }
  16. }