private void RegisterWithSharedBlobQueueListenerAsync( SharedBlobQueueListener sharedBlobQueueListener, IStorageBlobClient blobClient) { BlobQueueRegistration registration = new BlobQueueRegistration { Executor = _executor, BlobClient = blobClient }; sharedBlobQueueListener.Register(_functionId, registration); }
private void RegisterWithSharedBlobQueueListenerAsync( SharedBlobQueueListener sharedBlobQueueListener, BlobServiceClient blobClient, QueueServiceClient queueClient) { BlobQueueRegistration registration = new BlobQueueRegistration { Executor = _executor, BlobServiceClient = blobClient, QueueServiceClient = queueClient }; sharedBlobQueueListener.Register(_functionDescriptor.Id, registration); }
private IListener CreateQueueMessageToTriggerExecutionListener(IFunctionExecutor executor, ISharedContextProvider sharedContextProvider, SharedQueueWatcher sharedQueueWatcher, IStorageQueueClient queueClient, IStorageQueue hostBlobTriggerQueue, IStorageBlobClient blobClient, IBlobWrittenWatcher blobWrittenWatcher) { SharedBlobQueueListener sharedListener = sharedContextProvider.GetOrCreate <SharedBlobQueueListener>( new SharedBlobQueueListenerFactory(executor, sharedQueueWatcher, queueClient, hostBlobTriggerQueue, blobClient, _queueConfiguration, _backgroundExceptionDispatcher, _log, blobWrittenWatcher)); sharedListener.Register(_functionId, _instanceFactory); return(new BlobListener(sharedListener)); }
private IListener CreateQueueMessageToTriggerExecutionListener( ISharedContextProvider sharedContextProvider, SharedQueueWatcher sharedQueueWatcher, IStorageQueueClient queueClient, IStorageQueue hostBlobTriggerQueue, IStorageBlobClient blobClient, IBlobWrittenWatcher blobWrittenWatcher) { SharedBlobQueueListener sharedListener = sharedContextProvider.GetOrCreate <SharedBlobQueueListener>( new SharedBlobQueueListenerFactory(sharedQueueWatcher, queueClient, hostBlobTriggerQueue, _queueConfiguration, _backgroundExceptionDispatcher, _trace, blobWrittenWatcher)); BlobQueueRegistration registration = new BlobQueueRegistration { Executor = _executor, BlobClient = blobClient }; sharedListener.Register(_functionId, registration); return(new BlobListener(sharedListener)); }
private void RegisterWithSharedBlobQueueListenerAsync( SharedBlobQueueListener sharedBlobQueueListener, IStorageBlobClient blobClient) { BlobQueueRegistration registration = new BlobQueueRegistration { Executor = _executor, BlobClient = blobClient }; sharedBlobQueueListener.Register(_functionId, registration); }