This commit is contained in:
2023-10-07 14:59:21 +08:00
parent cd74b7140e
commit e7ce538d78
31 changed files with 1298 additions and 395 deletions

View File

@@ -0,0 +1,26 @@
package com.shayu.onetoone.event;
public abstract class AbsBusEvent {
private int type;
private String content;
public AbsBusEvent(int type) {
this.type = type;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}

View File

@@ -0,0 +1,9 @@
package com.shayu.onetoone.event;
public class MessageMsgBusEvent extends AbsBusEvent {
public static final int TYPE_ALL_READ = 0;
public MessageMsgBusEvent(int type) {
super(type);
}
}