Exemplo n.º 1
0
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }
            if (o == null || this.GetType() != o.GetType())
            {
                return(false);
            }

            RaftMessages_PreVote_Response response = ( RaftMessages_PreVote_Response )o;

            return(TermConflict == response.TermConflict && VoteGrantedConflict == response.VoteGrantedConflict);
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public T handle(RaftMessages_PreVote_Response response) throws E
        public override T Handle(RaftMessages_PreVote_Response response)
        {
            return(default(T));
        }