コード例 #1
0
 public SelectionHandler(SelectionHandlerSettings settings)
 {
     _settings = settings;
     _registry = new ChannelRegistryImpl(Context.GetLogger());
 }
コード例 #2
0
 protected SelectorBasedManager(SelectionHandlerSettings selectorSettings, int nrOfSelectors)
 {
     SelectorPool = Context.ActorOf(
         props: new RandomPool(nrOfSelectors).Props(Props.Create(() => new SelectionHandler(selectorSettings)).WithDeploy(Deploy.Local)),
         name: "selectors");
 }