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