<NME> RaftConsensusService.java
<BEF> package com.github.wenweihu86.raft.service;

import com.github.wenweihu86.raft.proto.RaftMessage;

/**
 * raft节点作为服务端时，提供的接口实现。
 * Created by wenweihu86 on 2017/5/2.
 */
public interface RaftConsensusService {

    RaftProto.VoteResponse preVote(RaftProto.VoteRequest request);

    RaftProto.VoteResponse requestVote(RaftProto.VoteRequest request);

    RaftProto.AppendEntriesResponse appendEntries(RaftProto.AppendEntriesRequest request);

    RaftProto.InstallSnapshotResponse installSnapshot(RaftProto.InstallSnapshotRequest request);
}

<MSG> 优化日志打印以及增加注释

<DFF> @@ -3,7 +3,7 @@ package com.github.wenweihu86.raft.service;
 import com.github.wenweihu86.raft.proto.RaftMessage;
 
 /**
- * raft节点作为服务端时，提供的接口实现。
+ * raft节点之间相互通信的接口。
  * Created by wenweihu86 on 2017/5/2.
  */
 public interface RaftConsensusService {

优化日志打印以及增加注释