Package com.cumulocity.sdk.client.devicecontrol

Examples of com.cumulocity.sdk.client.devicecontrol.OperationFilter


    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);
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.sdk.client.devicecontrol.OperationFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.