com.jd.blockchain.consensus.action.ActionRequest Maven / Gradle / Ivy
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