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;
|
}
|
|
}
|