Beispiel #1
0
 public Task <Router> CreateAsync(string id, string iotHubName, ISet <Endpoint> endpoints, ISet <Route> routes, Option <Route> fallback)
 {
     return(Router.CreateAsync(id, iotHubName, new RouterConfig(endpoints, routes, fallback), this.endpointExecutorFactory));
 }
Beispiel #2
0
 protected Source(Router router)
 {
     this.Router = Preconditions.CheckNotNull(router);
 }
Beispiel #3
0
 public Task <Router> CreateAsync(string id, string iotHubName)
 {
     return(Router.CreateAsync(id, iotHubName, new RouterConfig(new HashSet <Endpoint>(), new HashSet <Route>(), Option.None <Route>()), this.endpointExecutorFactory));
 }