/dongfang_FC_rewrite_tool/src/dongfang/mkt/frames/RequestFrame.java |
---|
0,0 → 1,15 |
package dongfang.mkt.frames; |
import java.io.IOException; |
import dongfang.mkt.RequestFrameVisitor; |
public abstract class RequestFrame extends Frame { |
protected RequestFrame(int address) { |
super(address); |
} |
// public abstract char getId(); |
public abstract void accept(RequestFrameVisitor o) throws IOException; |
} |
/dongfang_FC_rewrite_tool/src/dongfang/mkt/frames/ResponseFrame.java |
---|
0,0 → 1,9 |
package dongfang.mkt.frames; |
public abstract class ResponseFrame extends Frame { |
protected ResponseFrame(int address) { |
super(address); |
} |
public abstract boolean isResponseTo(RequestFrame r); |
} |