public async Task SchedulePolling(IHubCommunicator hubCommunicator, string externalAccountId, bool triggerImmediately, string groupId, string statId) { string pollingInterval = CloudConfigurationManager.GetSetting("terminalStatX.PollingInterval"); var additionalAttributes = JsonConvert.SerializeObject( new { GroupId = groupId, StatId = statId }); await hubCommunicator.ScheduleEvent(externalAccountId, pollingInterval, triggerImmediately, additionalAttributes, statId.Substring(0, 18)); }
public async Task SchedulePolling( IHubCommunicator hubCommunicator, string externalAccountId, GDrivePollingType pollingType, bool triggerImmediatly) { var pollingInterval = "1"; await hubCommunicator.ScheduleEvent( externalAccountId, pollingInterval, triggerImmediatly, additionToJobId : pollingType.ToString() ); }
public async Task SchedulePolling(IHubCommunicator hubCommunicator, string externalAccountId, bool trigger_immediately) { string pollingInterval = "1"; await hubCommunicator.ScheduleEvent(externalAccountId, pollingInterval, trigger_immediately); }
public void SchedulePolling(IHubCommunicator hubCommunicator, string externalAccountId) { string pollingInterval = CloudConfigurationManager.GetSetting("terminalDocuSign.PollingInterval"); hubCommunicator.ScheduleEvent(externalAccountId, pollingInterval); }