broker/InterceptAcknowledgedMessage: code formatter used
This commit is contained in:
+21
-19
@@ -1,27 +1,29 @@
|
|||||||
|
|
||||||
package io.moquette.interception.messages;
|
package io.moquette.interception.messages;
|
||||||
|
|
||||||
import static io.moquette.spi.IMessagesStore.StoredMessage;
|
import static io.moquette.spi.IMessagesStore.StoredMessage;
|
||||||
|
|
||||||
public class InterceptAcknowledgedMessage implements InterceptMessage {
|
public class InterceptAcknowledgedMessage implements InterceptMessage {
|
||||||
final private StoredMessage msg;
|
|
||||||
private final String username;
|
|
||||||
private final String topic;
|
|
||||||
|
|
||||||
public InterceptAcknowledgedMessage( final StoredMessage msg, final String topic, final String username) {
|
|
||||||
this.msg = msg;
|
|
||||||
this.username = username;
|
|
||||||
this.topic = topic;
|
|
||||||
}
|
|
||||||
|
|
||||||
public StoredMessage getMsg() {
|
|
||||||
return msg;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getUsername() {
|
final private StoredMessage msg;
|
||||||
return username;
|
private final String username;
|
||||||
}
|
private final String topic;
|
||||||
|
|
||||||
public String getTopic() {
|
public InterceptAcknowledgedMessage(final StoredMessage msg, final String topic, final String username) {
|
||||||
return topic;
|
this.msg = msg;
|
||||||
}
|
this.username = username;
|
||||||
|
this.topic = topic;
|
||||||
|
}
|
||||||
|
|
||||||
|
public StoredMessage getMsg() {
|
||||||
|
return msg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUsername() {
|
||||||
|
return username;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTopic() {
|
||||||
|
return topic;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user