src/main/java/bftsmart/consensus/messages/MessageFactory.java
/**
     * Creates a WRITE message to be sent by this process
     * @param id Consensus's execution ID
     * @param epoch Epoch number
     * @param value Accepted value
     * @return A das message of the ACCEPT type, with the specified id, epoch, and value
     */
Creates a WRITE message to be sent by this process
@param id Consensus's execution ID
@param epoch Epoch number
@param value Accepted value
@return A das message of the ACCEPT type, with the specified id, epoch, and value
Creates a WRITE message to be sent by this process @param id Consensus ' s execution ID @param epoch Epoch number @param value Accepted value @return A das message of the ACCEPT type with the specified id epoch and value
public ConsensusMessage createAccept(int id, int epoch, byte[] value) {
        return new ConsensusMessage(ACCEPT,id,epoch, from, value);
    }
public ConsensusMessage createAccept ( int id , int epoch , byte [ ] value ) { return new ConsensusMessage ( ACCEPT , id , epoch , from , value ) ; }
Creates a WRITE message to be sent by this process
 @param id Consensus's execution ID
 @param epoch Epoch number
 @param value Accepted value
 @return A das message of the ACCEPT type, with the specified id, epoch, and value
Creates a WRITE message to be sent by this process @param id Consensus ' s execution ID @param epoch Epoch number @param value Accepted value @return A das message of the ACCEPT type with the specified id epoch and value