Exemple #1
0
 public SubscriptionConnectionOptions()
 {
     ConnectionId = Interlocked.Increment(ref connectionCounter) + "/" + Base62Util.Base62Random();
     BatchOptions = new SubscriptionBatchOptions();
     ClientAliveNotificationInterval = TimeSpan.FromMinutes(2);
     TimeToWaitBeforeConnectionRetry = TimeSpan.FromSeconds(15);
     Strategy = SubscriptionOpeningStrategy.OpenIfFree;
 }
		public SubscriptionConnectionOptions()
		{
			ConnectionId = Interlocked.Increment(ref connectionCounter) + "/" + Base62Util.Base62Random();
			BatchOptions = new SubscriptionBatchOptions();
			ClientAliveNotificationInterval = TimeSpan.FromMinutes(2);
			TimeToWaitBeforeConnectionRetry = TimeSpan.FromSeconds(15);
			PullingRequestTimeout = TimeSpan.FromMinutes(5);
			Strategy = SubscriptionOpeningStrategy.OpenIfFree;
		}
Exemple #3
0
 public SubscriptionConnectionOptions()
 {
     ConnectionId = Interlocked.Increment(ref connectionCounter) + "/" + Base62Util.Base62Random();
     BatchOptions = new SubscriptionBatchOptions();
     ClientAliveNotificationInterval = TimeSpan.FromMinutes(2);
 }
Exemple #4
0
		public SubscriptionConnectionOptions()
		{
			ConnectionId = Interlocked.Increment(ref connectionCounter) + "/" + Base62Util.Base62Random();
			BatchOptions = new SubscriptionBatchOptions();
			ClientAliveNotificationInterval = TimeSpan.FromMinutes(2);
		}