You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
226 B

  1. package ziface
  2. /*
  3. 消息管理抽象层
  4. */
  5. type IMsgHandle interface{
  6. DoMsgHandler(request IRequest) //马上以非阻塞方式处理消息
  7. AddRouter(msgId uint32, router IRouter) //为消息添加具体的处理逻辑
  8. }