public BrokeredCloudProxy(IIdentity identity, BrokeredCloudProxyDispatcher cloudProxyDispatcher, Action <string, CloudConnectionStatus> connectionStatusChangedHandler) { this.identity = Preconditions.CheckNotNull(identity); this.cloudProxyDispatcher = Preconditions.CheckNotNull(cloudProxyDispatcher); this.connectionStatusChangedHandler = connectionStatusChangedHandler; this.cloudProxyDispatcher.ConnectionStatusChangedEvent += this.ConnectionChangedEventHandler; }
public BrokeredCloudConnectionProvider(BrokeredCloudProxyDispatcher cloudProxyDispatcher) { this.cloudProxyDispatcher = cloudProxyDispatcher; }
public BrokeredCloudConnectionProvider(BrokeredCloudProxyDispatcher cloudProxyDispatcher, IDeviceScopeIdentitiesCache deviceScopeIdentitiesCache) { this.cloudProxyDispatcher = cloudProxyDispatcher; this.deviceScopeIdentitiesCache = deviceScopeIdentitiesCache; }
public BrokeredDeviceConnectivityManager(BrokeredCloudProxyDispatcher cloudProxyDispatcher) { this.cloudProxyDispatcher = Preconditions.CheckNotNull(cloudProxyDispatcher); this.cloudProxyDispatcher.ConnectionStatusChangedEvent += this.ForwardConnectivityEvent; }