Start the business service method(开启业务服务方法) Routing feature: register a routing business method for the current service for client link processing use (路由功能:给当前服务注册一个路由业务方法,供客户端连接处理使用)
(msgID uint32, router IRouter)
| 17 | // Routing feature: register a routing business method for the current service for client link processing use |
| 18 | //(路由功能:给当前服务注册一个路由业务方法,供客户端连接处理使用) |
| 19 | AddRouter(msgID uint32, router IRouter) |
| 20 | |
| 21 | // New version of routing (新版路由方式) |
| 22 | AddRouterSlices(msgID uint32, router ...RouterHandler) IRouterSlices |