Exemple #1
0
 public IAsyncAction Initialize()
 {
     return(Task.Run(async() => {
         this.httpInterfaceManager = new HttpInterfaceManager(Constants.PORT);
         this.httpInterfaceManager.StartServer();
     }).AsAsyncAction());
 }
Exemple #2
0
 public HubController(LocationProvider loc, HttpInterfaceManager server)
 {
     view   = server;
     lp     = loc;
     msgHub = new AzureIoTHub(this);
 }