优化说明

This commit is contained in:
zhouhao
2017-05-15 09:04:39 +08:00
parent 15e9437198
commit 6bba5aaadd

View File

@@ -19,10 +19,10 @@ public class MyCommand implements CommandProcessor {
}
@Override
public void execute(WebSocketCommand command) {
command.getSession(); // WebSocketSession
command.getAuthentication(); //获取权限信息
command.getParameters(); //参数
public void execute(CommandRequest request) {
request.getSession(); // WebSocketSession
request.getAuthentication(); //获取权限信息
request.getParameters(); //参数
}
@Override