
su.iroha.0.0.8.source-code.Transaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iroha Show documentation
Show all versions of iroha Show documentation
A application used as an example on how to set up pushing its components to the Central Repository.
The newest version!
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class Transaction {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Transaction(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Transaction obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
irohaJNI.delete_Transaction(swigCPtr);
}
swigCPtr = 0;
}
}
public Transaction(Transaction o) {
this(irohaJNI.new_Transaction__SWIG_1(Transaction.getCPtr(o), o), true);
}
public String creatorAccountId() {
return irohaJNI.Transaction_creatorAccountId(swigCPtr, this);
}
public SWIGTYPE_p_shared_model__proto__Transaction__CommandsType commands() {
return new SWIGTYPE_p_shared_model__proto__Transaction__CommandsType(irohaJNI.Transaction_commands(swigCPtr, this), false);
}
public Blob blob() {
return new Blob(irohaJNI.Transaction_blob(swigCPtr, this), false);
}
public Blob payload() {
return new Blob(irohaJNI.Transaction_payload(swigCPtr, this), false);
}
public SWIGTYPE_p_boost__any_rangeT_shared_model__interface__Signature_const_R_boost__forward_traversal_tag_t signatures() {
return new SWIGTYPE_p_boost__any_rangeT_shared_model__interface__Signature_const_R_boost__forward_traversal_tag_t(irohaJNI.Transaction_signatures(swigCPtr, this), true);
}
public boolean addSignature(Signed signed_blob, PublicKey public_key) {
return irohaJNI.Transaction_addSignature(swigCPtr, this, Signed.getCPtr(signed_blob), signed_blob, PublicKey.getCPtr(public_key), public_key);
}
public java.math.BigInteger createdTime() {
return irohaJNI.Transaction_createdTime(swigCPtr, this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy