예제 #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));
 }
예제 #2
0
 public void RegisterRawService(RpcServiceBase service)
 {
     _dispatcher.RegisterService(service);
 }