com.alibaba.rocketmq.remoting.RPCHook Maven / Gradle / Ivy
package com.alibaba.rocketmq.remoting;
import com.alibaba.rocketmq.remoting.protocol.RemotingCommand;
public interface RPCHook {
public void doBeforeRequest(final String remoteAddr, final RemotingCommand request);
public void doAfterResponse(final String remoteAddr, final RemotingCommand request,
final RemotingCommand response);
}