Package org.stellar.sdk.xdr
Class HashIDPreimage.HashIDPreimageOperationID
java.lang.Object
org.stellar.sdk.xdr.HashIDPreimage.HashIDPreimageOperationID
- Enclosing class:
HashIDPreimage
HashIDPreimageOperationID's original definition in the XDR file is:
struct { AccountID sourceAccount; SequenceNumber seqNum; uint32 opNum; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionHashIDPreimageOperationID
(AccountID sourceAccount, SequenceNumber seqNum, Uint32 opNum) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getOpNum()
int
hashCode()
void
void
setSeqNum
(SequenceNumber seqNum) void
setSourceAccount
(AccountID sourceAccount) toString()
default String
default byte[]
-
Constructor Details
-
HashIDPreimageOperationID
public HashIDPreimageOperationID() -
HashIDPreimageOperationID
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static HashIDPreimage.HashIDPreimageOperationID decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
public static HashIDPreimage.HashIDPreimageOperationID fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getSourceAccount
-
getSeqNum
-
getOpNum
-
setSourceAccount
-
setSeqNum
-
setOpNum
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-