2017-02-01 15:14:50 +01:00
|
|
|
|
2016-03-03 17:47:30 -08:00
|
|
|
package io.moquette.interception.messages;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author Wagner Macedo
|
|
|
|
|
*/
|
2017-01-10 17:06:13 +01:00
|
|
|
public class InterceptDisconnectMessage implements InterceptMessage {
|
2017-02-01 15:14:50 +01:00
|
|
|
|
2016-03-03 17:47:30 -08:00
|
|
|
private final String clientID;
|
|
|
|
|
private final String username;
|
|
|
|
|
|
|
|
|
|
public InterceptDisconnectMessage(String clientID, String username) {
|
|
|
|
|
this.clientID = clientID;
|
|
|
|
|
this.username = username;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getClientID() {
|
|
|
|
|
return clientID;
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-01 15:14:50 +01:00
|
|
|
public String getUsername() {
|
|
|
|
|
return username;
|
|
|
|
|
}
|
2016-03-03 17:47:30 -08:00
|
|
|
}
|