class RemovePeerProcessor
        extends RpcRequestProcessor<RemovePeerRequest> {

    private static final Logger LOG = Log.logger(RemovePeerProcessor.class);

    private final RaftContext context;

    public RemovePeerProcessor(RaftContext context) {
        super(null, null);
        this.context = context;
    }

    @Override
    public Message processRequest(RemovePeerRequest request,
                                  RpcRequestClosure done) {<FILL_FUNCTION_BODY>}

    @Override
    public String interest() {
        return RemovePeerRequest.class.getName();
    }
}

        LOG.debug("Processing RemovePeerRequest {}", request.getClass());
        RaftGroupManager nodeManager = this.context.raftNodeManager();
        try {
            nodeManager.removePeer(request.getEndpoint());
            CommonResponse common = CommonResponse.newBuilder()
                                                  .setStatus(true)
                                                  .build();
            return RemovePeerResponse.newBuilder().setCommon(common).build();
        } catch (Throwable e) {
            CommonResponse common = CommonResponse.newBuilder()
                                                  .setStatus(false)
                                                  .setMessage(e.toString())
                                                  .build();
            return RemovePeerResponse.newBuilder().setCommon(common).build();
        }
    
<no_super_class>