Beispiel #1
0
        public NRpcServer(IPAddress ip, int port)
        {
            _iPEndPoint = new IPEndPoint(ip, port);

            _routeCoordinator = DependencyManage.Resolve <ICoordinatorFactory>().Create();
            _gloabFilterList  = new List <IServerFilter>();
        }
Beispiel #2
0
 static RpcConfig()
 {
     _RouteCoordinator = DependencyManage.Resolve <ICoordinatorFactory>().Create();
 }