Exemplo n.º 1
0
            public NestedServiceIdentitiesIterator(IDeviceScopeApiClientProvider securityScopesApiClientProvider)
            {
                this.clientProvider = Preconditions.CheckNotNull(securityScopesApiClientProvider);

                // Put the first node (the actor device) into the queue
                this.actorClient        = this.clientProvider.CreateNestedDeviceScopeClient();
                this.remainingEdgeNodes = new Queue <IDeviceScopeApiClient>();
                this.remainingEdgeNodes.Enqueue(this.actorClient);
            }
Exemplo n.º 2
0
 public ServiceProxy(IDeviceScopeApiClientProvider securityScopesApiClientProvider, bool nestedEdgeEnabled = true)
 {
     this.securityScopesApiClientProvider = Preconditions.CheckNotNull(securityScopesApiClientProvider, nameof(securityScopesApiClientProvider));
     this.nestedEdgeEnabled = nestedEdgeEnabled;
 }