broker: notify when client connection lost

This commit is contained in:
bcw
2016-10-21 10:28:36 +08:00
parent cf67d5ac52
commit 03c0097641
5 changed files with 42 additions and 6 deletions
@@ -0,0 +1,22 @@
package io.moquette.interception.messages;
/**
* @author Wagner Macedo
*/
public class InterceptConnectionLostMessage {
private final String clientID;
private final String username;
public InterceptConnectionLostMessage(String clientID, String username) {
this.clientID = clientID;
this.username = username;
}
public String getClientID() {
return clientID;
}
public String getUsername() {
return username;
}
}