Exemple #1
0
 /// <summary>
 ///		注册回调Service
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="rpcService"></param>
 public void RegisterService <T>(T rpcService)
 {
     _dispatcher.RegisterService(new RpcServiceDecorator <T>(rpcService));
 }
Exemple #2
0
 public void RegisterRawService(RpcServiceBase service)
 {
     _dispatcher.RegisterService(service);
 }