Package org.stellar.sdk.xdr
Class HashIDPreimage.HashIDPreimageContractID
java.lang.Object
org.stellar.sdk.xdr.HashIDPreimage.HashIDPreimageContractID
- Enclosing class:
HashIDPreimage
HashIDPreimageContractID's original definition in the XDR file is:
struct { Hash networkID; ContractIDPreimage contractIDPreimage; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionHashIDPreimageContractID
(Hash networkID, ContractIDPreimage contractIDPreimage) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setContractIDPreimage
(ContractIDPreimage contractIDPreimage) void
setNetworkID
(Hash networkID) toString()
default String
default byte[]
-
Constructor Details
-
HashIDPreimageContractID
public HashIDPreimageContractID() -
HashIDPreimageContractID
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static HashIDPreimage.HashIDPreimageContractID decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
public static HashIDPreimage.HashIDPreimageContractID fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getNetworkID
-
getContractIDPreimage
-
setNetworkID
-
setContractIDPreimage
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-