public HubController(LocationProvider loc, HttpInterfaceManager server) { view = server; lp = loc; msgHub = new AzureIoTHub(this); }