broker/InterceptPublishMessage: code formatter used
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package io.moquette.interception.messages;
|
package io.moquette.interception.messages;
|
||||||
|
|
||||||
import io.netty.buffer.ByteBuf;
|
import io.netty.buffer.ByteBuf;
|
||||||
@@ -7,10 +8,11 @@ import io.netty.handler.codec.mqtt.MqttPublishMessage;
|
|||||||
* @author Wagner Macedo
|
* @author Wagner Macedo
|
||||||
*/
|
*/
|
||||||
public class InterceptPublishMessage extends InterceptAbstractMessage {
|
public class InterceptPublishMessage extends InterceptAbstractMessage {
|
||||||
|
|
||||||
private final MqttPublishMessage msg;
|
private final MqttPublishMessage msg;
|
||||||
private final String clientID;
|
private final String clientID;
|
||||||
private final String username;
|
private final String username;
|
||||||
|
|
||||||
public InterceptPublishMessage(MqttPublishMessage msg, String clientID, String username) {
|
public InterceptPublishMessage(MqttPublishMessage msg, String clientID, String username) {
|
||||||
super(msg);
|
super(msg);
|
||||||
this.msg = msg;
|
this.msg = msg;
|
||||||
@@ -30,7 +32,7 @@ public class InterceptPublishMessage extends InterceptAbstractMessage {
|
|||||||
return clientID;
|
return clientID;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user