update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user