/**
 * Copyright (c) 2016 Bosch Software Innovations GmbH.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Bosch Software Innovations GmbH - initial creation
 */
package org.eclipse.hono.telemetry;

import org.apache.qpid.proton.message.Message;

/**
 * A strategy for processing telemetry data.
 *
 */
public interface TelemetryAdapter {

    boolean processTelemetryData(Message telemetryData);
}

/**
 * Copyright (c) 2016 Bosch Software Innovations GmbH.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Bosch Software Innovations GmbH - initial creation
 */
package org.eclipse.hono.telemetry;

import org.apache.qpid.proton.message.Message;

/**
 * A strategy for processing downstream telemetry data.
 *
 */
public interface TelemetryAdapter {

    /**
     * Processes a message containing telemetry data produced by a device.
     * 
     * @param telemetryData the message containing the data.
     * @return {@code true} if the message could be processed successfully.
     */
    boolean processTelemetryData(Message telemetryData);
}

Add JavaDoc.