Package org.stellar.sdk.xdr
Class PeerAddress
java.lang.Object
org.stellar.sdk.xdr.PeerAddress
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PeerAddressdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, PeerAddress encodedPeerAddress) booleanstatic PeerAddressfromXdrBase64(String xdr) static PeerAddressfromXdrByteArray(byte[] xdr) getIp()getPort()inthashCode()voidsetIp(PeerAddress.PeerAddressIp value) voidsetNumFailures(Uint32 value) voidbyte[]
-
Constructor Details
-
PeerAddress
public PeerAddress()
-
-
Method Details
-
getIp
-
setIp
-
getPort
-
setPort
-
getNumFailures
-
setNumFailures
-
encode
public static void encode(XdrDataOutputStream stream, PeerAddress encodedPeerAddress) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-