shikeying
2024-01-11 3b67e947e36133e2a40eb2737b15ea375e157ea0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.walker.tcp.support;
 
import com.walker.tcp.ActionCallable;
import com.walker.tcp.Request;
import com.walker.tcp.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
 
public class AbstractActionCall implements ActionCallable {
 
    protected final transient Logger logger = LoggerFactory.getLogger(getClass());
 
//    private String protocolNum;
 
    @Override
    public Response<?> action(Request<?> request) {
        return null;
    }
 
    @Override
    public String getRequestProtocol() {
        throw new UnsupportedOperationException("业务定义该action关联的请求协议编号,如:APOO");
    }
 
    @Override
    public String getClassName() {
        return this.getClass().getName();
    }
 
    @Override
    public String getSummary() {
        return null;
    }
 
}