public OperationsByAgentAndStatusPollerImpl(DeviceControlApi deviceControlApi, String agentId, OperationStatus status,
OperationProcessor operationProcessor) throws SDKException {
super(new ScheduledThreadPoolExecutor(1), PERIOD_INTERVAL);
OperationFilter filter = new OperationFilter().byAgent(agentId).byStatus(status);
setPollingTask(new OperationsPollingTask(deviceControlApi.getOperationsByFilter(filter), OperationsQueue.getInstance()));
queueHandler = new OperationsQueueHandler(operationProcessor, OperationsQueue.getInstance(), deviceControlApi);
}