com.godmao.mqbroker.message.BindMessage Maven / Gradle / Ivy
package com.godmao.mqbroker.message;
public class BindMessage {
public final static byte cmd = 1;
private final String name;
private final String address;
public BindMessage(String name, String address) {
this.name = name;
this.address = address;
}
public byte getCmd() {
return cmd;
}
public String getName() {
return name;
}
public String getAddress() {
return address;
}
@Override
public String toString() {
return "{" +
"name='" + name + '\'' +
", address='" + address + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy