protected OutlookEmailBaseOperator( ILocalSwitchboard switchboard, string emailAddress, string password, int maxDequeueCount, SearchFilter filter = null, WellKnownFolderName folder = WellKnownFolderName.Inbox, SortDirection sortDirection = SortDirection.Ascending) { this.emailAddress = emailAddress; this.password = password; this.recieveMessagesOnly = true; this.filter = filter; this.folder = folder; this.maxDequeueCount = maxDequeueCount; this.sortDirection = sortDirection; if (null != switchboard) { this.Switchboards.Add(switchboard); switchboard.Operator = this; } this.ID = 0; if (null == switchboard && this.recieveMessagesOnly) { throw new SwitchBoardNeededWhenRecievingMessagesException(); } }
internal ServiceBusQueueBaseOperator(ILocalSwitchboard switchBoard, ServiceBusQueue queue, int maxDequeueCount) : this(queue, true) { this.Switchboards.Add(switchBoard); switchBoard.Operator = this; this.maxDequeueCount = maxDequeueCount; }
internal MsmqBaseOperator(ILocalSwitchboard switchboard, string machineName, string queueName) : this(machineName, queueName, QueueAccessMode.Receive) { this.Switchboards.Add(switchboard); switchboard.Operator = this; this.recieveMessagesOnly = true; }
internal HybridConnectionBaseOperator(ILocalSwitchboard switchboard, string hybridConnectionString, string hybridConnectionName, bool createConnectionIfItDoesNotExist) { connectionItems = new RelayConnectionStringBuilder(hybridConnectionString) { EntityPath = hybridConnectionName }; if (String.IsNullOrEmpty(connectionItems.EntityPath)) { throw new HybridConnectionNameNoSpecifiedInEntityPathException(hybridConnectionString); } this.hybridConnectionString = hybridConnectionString; this.hybridConnectionName = hybridConnectionName; if (createConnectionIfItDoesNotExist) { CreateHybridConnectionIfDoesNotExist(); } if (null != switchboard) { this.Switchboards.Add(switchboard); switchboard.Operator = this; } StartListener(); }
internal EventHubBaseOperator(ILocalSwitchboard switchBoard, EventHubDataSubscriber eventHubMsgReciever) { this.Switchboards.Add(switchBoard); switchBoard.Operator = this; this.EventHubMsgReciever = eventHubMsgReciever; this.ID = 0; }
protected StorageQueueBaseOperator( ILocalSwitchboard switchBoard, string storageConnectionString, string queueName, bool createQueueIfItDoesNotExist, bool recieve, int maxDequeueCount = DefaultDequeueMaxCount, TimeSpan?retrieveVisibilityTimeout = null) : this(switchBoard, GetQueueFrom(storageConnectionString, queueName, createQueueIfItDoesNotExist), GetDeadLetterQueueFrom(storageConnectionString, queueName), recieve, maxDequeueCount, retrieveVisibilityTimeout) { }
protected DirectoryQueueBaseOperator( ILocalSwitchboard switchBoard, string queueDirectoryRoot, string queueName, bool createQueueIfItDoesNotExist, bool recieveMessagesOnly, int maxDequeueCount = DefaultDequeueMaxCount, TimeSpan?retrieveVisibilityTimeout = null) : this(switchBoard, GetQueueFrom(queueDirectoryRoot, queueName, createQueueIfItDoesNotExist), GetDeadLetterQueueFrom(queueDirectoryRoot, queueName), recieveMessagesOnly, maxDequeueCount, retrieveVisibilityTimeout) { }
protected DirectoryQueueBaseOperator( ILocalSwitchboard switchboard, DirectoryQueue queue, DirectoryQueue deadLetterQueue, bool recieveMessagesOnly, int maxDequeueCount = DefaultDequeueMaxCount, TimeSpan?retrieveVisibilityTimeout = null) { this.recieveMessagesOnly = recieveMessagesOnly; if (null != switchboard) { this.Switchboards.Add(switchboard); switchboard.Operator = this; } this.ID = 0; this.queue = queue; this.deadLetterQueue = deadLetterQueue; this.retrieveVisibilityTimeout = retrieveVisibilityTimeout; if (null == switchboard && recieveMessagesOnly) { throw new SwitchBoardNeededWhenRecievingMessagesException(); } }
public ServiceBusTopicSubscriptionOperator(ILocalSwitchboard switchboard, string connectionString, string topicName, bool createTopicIfItDoesNotExist) : base(switchboard, ServiceBusTopicPublishOperator <T> .GetTopic(connectionString, topicName, createTopicIfItDoesNotExist), DefaultDequeueMaxCount) { }
public LocalBlockingQueueOperator(IProducerConsumerCollection <IActorMessage> collection, int boundedCapactiy, ILocalSwitchboard switchBoard) { this.collection = collection; }
public LocalOperator(ILocalSwitchboard switchBoard) { }
public LocalQueueOperator(ILocalSwitchboard switchBoard) { this.Switchboard = switchBoard; this.ID = 0; actorMessages = GetMessageContainer(); }
public HybridConnectionSubscriptionOperator(ILocalSwitchboard switchBoard, string hybridConnectionString, string hybridConnectionName, bool createConnectionIfItDoesNotExist = true) : base(switchBoard, hybridConnectionString, hybridConnectionName, createConnectionIfItDoesNotExist) { }
public StorageQueueSubscriptionOperator(ILocalSwitchboard switchBoard, string storageConnectionString, string queueName, bool createQueueIfItDoesNotExist = true, int maxDequeueCount = DefaultDequeueMaxCount) : base(switchBoard, storageConnectionString, queueName, createQueueIfItDoesNotExist, true, maxDequeueCount, null) { }
public DirectoryDeadletterQueueSubscriptionOperator(ILocalSwitchboard switchBoard, DirectoryQueue queue, DirectoryQueue deadLetterQueue, int maxDequeueCount = DefaultDequeueMaxCount, TimeSpan?retrieveVisibilityTimeout = null) : base(switchBoard, queue, deadLetterQueue, true, maxDequeueCount, retrieveVisibilityTimeout) { }
public ServiceBusQueueDeadLetterSubscriptionOperator(ILocalSwitchboard switchBoard, string connectionString, string queueName, int maxDequeueCount = DefaultDequeueMaxCount) : this(switchBoard, ServiceBusQueueDeadLetterPublishOperator <T> .GetQueue(connectionString, queueName), maxDequeueCount) { }
private ServiceBusQueueDeadLetterSubscriptionOperator(ILocalSwitchboard switchBoard, ServiceBusQueue queue, int maxDequeueCount) : base(switchBoard, queue, maxDequeueCount) { }
public ServiceBusTopicDeadLetterSubscriptionOperator(ILocalSwitchboard switchBoard, string connectionString, string topicName, string subscriptionName, int maxDequeueCount = DefaultDequeueMaxCount, int prefetchCount = DefaultPrefetchCount) : base(switchBoard, GetSender(connectionString, topicName, subscriptionName), maxDequeueCount) { }
public EventHubSubscriptionOperator(ILocalSwitchboard switchboard, string connectionstring, string eventHubName, string consumerGroup, string partitionId, bool createEventHubIfItDoesNotExist = false) : this(switchboard, GetEventHubDataReciever(connectionstring, eventHubName, consumerGroup, partitionId, createEventHubIfItDoesNotExist)) { }
public StorageQueueSubscriptionOperator(ILocalSwitchboard switchBoard, QueueClient queue, QueueClient deadLetterQueue, int maxDequeueCount = DefaultDequeueMaxCount, TimeSpan?retrieveVisibilityTimeout = null) : base(switchBoard, queue, deadLetterQueue, true, maxDequeueCount, retrieveVisibilityTimeout) { }
public ServiceBusQueueSubscriptionOperator(ILocalSwitchboard switchBoard, string connectionString, string queueName, bool createQueueIfItDoesNotExist, int maxDequeueCount = DefaultDequeueMaxCount) : this(switchBoard, ServiceBusQueuePublishOperator <T> .GetQueue(connectionString, queueName, createQueueIfItDoesNotExist), maxDequeueCount) { }
public OutlookInboxSubscriptionOperator(ILocalSwitchboard switchBoard, string emailAddress, string password, bool unreadOnly = true, int maxDequeueCount = DefaultDequeueMaxCount) : base(switchBoard, emailAddress, password, maxDequeueCount, GetSearchFilter(unreadOnly), WellKnownFolderName.Inbox) { }
private EventHubSubscriptionOperator(ILocalSwitchboard switchBoard, EventHubDataSubscriber reciever) : base(switchBoard, reciever) { }
public MsmqReceptionOperator(ILocalSwitchboard switchBoard, string machineName, string queueName) : base(switchBoard, machineName, queueName) { }
public DirectoryDeadletterQueueSubscriptionOperator(ILocalSwitchboard switchBoard, string queueDirectoryRoot, string queueName, bool createQueueIfItDoesNotExist = true, int maxDequeueCount = DefaultDequeueMaxCount) : base(switchBoard, queueDirectoryRoot, queueName, createQueueIfItDoesNotExist, true, maxDequeueCount, null) { }