Ejemplo n.º 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;
		}
Ejemplo n.º 3
0
 public SubscriptionConnectionOptions()
 {
     ConnectionId = Interlocked.Increment(ref connectionCounter) + "/" + Base62Util.Base62Random();
     BatchOptions = new SubscriptionBatchOptions();
     ClientAliveNotificationInterval = TimeSpan.FromMinutes(2);
 }
Ejemplo n.º 4
0
		public SubscriptionConnectionOptions()
		{
			ConnectionId = Interlocked.Increment(ref connectionCounter) + "/" + Base62Util.Base62Random();
			BatchOptions = new SubscriptionBatchOptions();
			ClientAliveNotificationInterval = TimeSpan.FromMinutes(2);
		}