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