Package org.stellar.sdk.xdr
Class TxAdvertVector
java.lang.Object
org.stellar.sdk.xdr.TxAdvertVector
- All Implemented Interfaces:
XdrElement
TxAdvertVector's original definition in the XDR file is:
typedef Hash TxAdvertVector<TX_ADVERT_VECTOR_MAX_SIZE>;
-
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionTxAdvertVector(Hash[] TxAdvertVector) Creates a newTxAdvertVectorinstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic TxAdvertVectordecode(XdrDataInputStream stream) static TxAdvertVectordecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic TxAdvertVectorstatic TxAdvertVectorfromXdrBase64(String xdr) static TxAdvertVectorfromXdrByteArray(byte[] xdr) Hash[]Value of theTxAdvertVectorfield.inthashCode()voidsetTxAdvertVector(Hash[] TxAdvertVector) Value of theTxAdvertVectorfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TxAdvertVector
public TxAdvertVector() -
TxAdvertVector
Creates a newTxAdvertVectorinstance.- Parameters:
TxAdvertVector- theTxAdvertVectorfield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
getTxAdvertVector
Value of theTxAdvertVectorfield.- Returns:
- the
TxAdvertVectorfield value
-
setTxAdvertVector
Value of theTxAdvertVectorfield.- Parameters:
TxAdvertVector- theTxAdvertVectorfield value
-
equals
-
hashCode
public int hashCode() -
toString
-