public class TopologyResponseBodyV2 extends java.lang.Object implements XdrElement
struct TopologyResponseBodyV2 { TimeSlicedPeerDataList inboundPeers; TimeSlicedPeerDataList outboundPeers; TimeSlicedNodeData nodeData; };
Modifier and Type | Class and Description |
---|---|
static class |
TopologyResponseBodyV2.TopologyResponseBodyV2Builder |
Constructor and Description |
---|
TopologyResponseBodyV2() |
TopologyResponseBodyV2(TimeSlicedPeerDataList inboundPeers,
TimeSlicedPeerDataList outboundPeers,
TimeSlicedNodeData nodeData) |
Modifier and Type | Method and Description |
---|---|
static TopologyResponseBodyV2.TopologyResponseBodyV2Builder |
builder() |
static TopologyResponseBodyV2 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TopologyResponseBodyV2 |
fromXdrBase64(java.lang.String xdr) |
static TopologyResponseBodyV2 |
fromXdrByteArray(byte[] xdr) |
TimeSlicedPeerDataList |
getInboundPeers() |
TimeSlicedNodeData |
getNodeData() |
TimeSlicedPeerDataList |
getOutboundPeers() |
int |
hashCode() |
void |
setInboundPeers(TimeSlicedPeerDataList inboundPeers) |
void |
setNodeData(TimeSlicedNodeData nodeData) |
void |
setOutboundPeers(TimeSlicedPeerDataList outboundPeers) |
TopologyResponseBodyV2.TopologyResponseBodyV2Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TopologyResponseBodyV2()
public TopologyResponseBodyV2(TimeSlicedPeerDataList inboundPeers, TimeSlicedPeerDataList outboundPeers, TimeSlicedNodeData nodeData)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TopologyResponseBodyV2 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TopologyResponseBodyV2 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TopologyResponseBodyV2 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TopologyResponseBodyV2.TopologyResponseBodyV2Builder builder()
public TopologyResponseBodyV2.TopologyResponseBodyV2Builder toBuilder()
public TimeSlicedPeerDataList getInboundPeers()
public TimeSlicedPeerDataList getOutboundPeers()
public TimeSlicedNodeData getNodeData()
public void setInboundPeers(TimeSlicedPeerDataList inboundPeers)
public void setOutboundPeers(TimeSlicedPeerDataList outboundPeers)
public void setNodeData(TimeSlicedNodeData nodeData)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object