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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionHashIDPreimageContractID(Hash networkID, ContractIDPreimage contractIDPreimage) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) inthashCode()voidsetContractIDPreimage(ContractIDPreimage contractIDPreimage) voidsetNetworkID(Hash networkID) toString()default Stringdefault 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
-