public Proxy() {
}
- Proxy(final RequestVoteReply requestVoteReply) {
- this.requestVoteReply = requestVoteReply;
- }
-
@Override
- public void writeExternal(final ObjectOutput out) throws IOException {
- out.writeLong(requestVoteReply.getTerm());
- out.writeBoolean(requestVoteReply.voteGranted);
+ public void writeExternal(final ObjectOutput out) {
+ throw new UnsupportedOperationException();
}
@Override