예제 #1
0
 public void Start()
 {
     _socketRemotingServer = new SocketRemotingServer(_iPEndPoint).RegisterRequestHandler(100, new NRpcHandle(_gloabFilterList));
     NRpcConfigWatcher.Install();
     _socketRemotingServer.Start();
     _routeCoordinator.RegisterAsync(_iPEndPoint).Wait();
 }
예제 #2
0
 public void Start(params string[] assemblyNameList)
 {
     ServerAssemblyUtil.AddAssemblyList(assemblyNameList);
     _socketRemotingServer = new SocketRemotingServer(_iPEndPoint).RegisterRequestHandler(100, new NRpcHandle(_gloabFilterList));
     _socketRemotingServer.Start();
     _routeCoordinator.RegisterAsync(_iPEndPoint).Wait();
 }