public NotificationFetcher(NotificationFetcherConfig fetcherConfig, IRemotingConnection connection, RemotingMBeanServerConnection serverConnection) { _connection = connection; _serverConnection = serverConnection; _maxBatchSize = fetcherConfig.MaxNotificationBatchSize; if (fetcherConfig.Proactive) { _timer = new Timer(FetchNotifications, null, TimeSpan.Zero, fetcherConfig.FetchDelay); } else { FetchNotifications(null); } }