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

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

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

import com.jd.binaryproto.DataContract;
import com.jd.binaryproto.DataField;
import com.jd.binaryproto.PrimitiveType;
import com.jd.blockchain.consts.DataCodes;

@DataContract(code= DataCodes.CONSENSUS_ACTION_REQUEST)
public interface ActionRequest {

	@DataField(order=1, list=true, primitiveType= PrimitiveType.INT8)
	byte[] getGroupId();

	@DataField(order=2, primitiveType=PrimitiveType.TEXT)
	String getHandleType();

	@DataField(order=3, primitiveType=PrimitiveType.TEXT)
	String getHandleMethod();
	
//	String getMessageType();

	@DataField(order=4, list=true, primitiveType= PrimitiveType.INT8)
	byte[] getMessageBody();

	@DataField(order=5, primitiveType= PrimitiveType.TEXT)
	String getTransactionType();
	
//	String getReponseType();
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy