📄 actionregister.java
字号:
/**
*
*/
package cn.humanmonth.chat.server.protocol.requestaction;
import java.util.LinkedList;
import java.util.List;
/**
* @author Piterlin
*
* 注册动作
*/
public class ActionRegister {
private static List actions = new LinkedList();
static {
actions.add(new SendAllUserListAction());
actions.add(new SendMsgToAllAction());
actions.add(new KeepClientAliveAction());
actions.add(new ChangeNickNameAction());
}
public static List getActions() {
return actions;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -