public NRpcServer(IPAddress ip, int port) { _iPEndPoint = new IPEndPoint(ip, port); _routeCoordinator = DependencyManage.Resolve <ICoordinatorFactory>().Create(); _gloabFilterList = new List <IServerFilter>(); }
static RpcConfig() { _RouteCoordinator = DependencyManage.Resolve <ICoordinatorFactory>().Create(); }