All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jd.blockchain.consensus.action.ActionResponseData Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.consensus.action;

public class ActionResponseData implements ActionResponse {
	
	private byte[] message;
	
	private boolean error = false;
	
	private String errorMessage;
	
	private String errorType;

	@Override
	public byte[] getMessage() {
		return message;
	}

	public void setMessage(byte[] message) {
		this.message = message;
	}

	@Override
	public boolean getError() {
		return error;
	}

	public void setError(boolean error) {
		this.error = error;
	}

	@Override
	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	@Override
	public String getErrorType() {
		return errorType;
	}

	public void setErrorType(String errorType) {
		this.errorType = errorType;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy