Skip to content

Commit

Permalink
Improve code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfinocchiaro committed Sep 21, 2017
1 parent 9140bae commit abd23ca
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/main/java/cool/mqtt/hooks/MqttSubscription.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
package cool.mqtt.hooks;

/**
* An abstraction of the <code>SUBSCRIBE</code> Control Packet, sent by the
* client and passed to the Hook, before being encoded and finally submitted to
* the target MQTT broker.
* An abstraction of the <code>SUBSCRIBE</code> Control Packet, sent by the client and passed to the
* Hook, before being encoded and finally submitted to the target MQTT broker.
*/
public interface MqttSubscription {

/**
* Gets the topic filter indicating one or more topics to which the client
* subscribe.
* Gets the topic filter indicating one or more topics to which the client subscribe.
*
* @return the topic filter
*/
String getTopicFilter();

/**
* Gets the maximum Quality Of Service level which the target MQTT broker is
* allowed to send Application Messages.
* Gets the maximum Quality Of Service level which the target MQTT broker is allowed to send
* Application Messages.
*
* @return the maximum Quality Of Service level
*/
QoS getQos();

}
}

0 comments on commit abd23ca

Please sign in to comment.