Example #1
0
        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;
        }
Example #2
0
 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;
 }