@Override
    protected Message processRequest0(final CliRequestContext ctx, final SnapshotRequest request,
                                      final RpcRequestClosure done) {
        LOG.info("Receive SnapshotRequest to {} from {}", ctx.node.getNodeId(), request.getPeerId());
        ctx.node.snapshot(done);
        return null;
    }
Snapshot request processor.

@author boyan (boyan@alibaba-inc.com)
@author jiachun.fjc
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/impl/cli/SnapshotRequestProcessor.java