org.seedstack.mqtt.MqttPublishHandler Maven / Gradle / Ivy
The newest version!
/*
* Copyright © 2013-2020, The SeedStack authors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
*
*/
package org.seedstack.mqtt;
import java.lang.annotation.*;
/**
* Defined a new publish handler for a clients name. This handler is called when
* a MqttCallback action arrived.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface MqttPublishHandler {
String[] clients();
}