Class GetPeerListResponse
Inheritance
System.Object
GetPeerListResponse
Implements
Google.Protobuf.IMessage<GetPeerListResponse>
Google.Protobuf.IMessage
System.IEquatable<GetPeerListResponse>
Google.Protobuf.IDeepCloneable<GetPeerListResponse>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Catalyst.Protocol.Rpc.Node
Assembly: Catalyst.Protocol.dll
Syntax
public sealed class GetPeerListResponse : IMessage<GetPeerListResponse>, IMessage, IEquatable<GetPeerListResponse>, IDeepCloneable<GetPeerListResponse>
Constructors
| Improve this Doc View SourceGetPeerListResponse()
Declaration
public GetPeerListResponse()
GetPeerListResponse(GetPeerListResponse)
Declaration
public GetPeerListResponse(GetPeerListResponse other)
Parameters
Type | Name | Description |
---|---|---|
GetPeerListResponse | other |
Fields
| Improve this Doc View SourcePeersFieldNumber
Field number for the "peers" field.
Declaration
public const int PeersFieldNumber = 1
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceDescriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
Google.Protobuf.Reflection.MessageDescriptor |
Parser
Declaration
public static MessageParser<GetPeerListResponse> Parser { get; }
Property Value
Type | Description |
---|---|
Google.Protobuf.MessageParser<GetPeerListResponse> |
Peers
Declaration
public RepeatedField<PeerId> Peers { get; }
Property Value
Type | Description |
---|---|
Google.Protobuf.Collections.RepeatedField<PeerId> |
Methods
| Improve this Doc View SourceCalculateSize()
Declaration
public int CalculateSize()
Returns
Type | Description |
---|---|
System.Int32 |
Clone()
Declaration
public GetPeerListResponse Clone()
Returns
Type | Description |
---|---|
GetPeerListResponse |
Equals(GetPeerListResponse)
Declaration
public bool Equals(GetPeerListResponse other)
Parameters
Type | Name | Description |
---|---|---|
GetPeerListResponse | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
MergeFrom(GetPeerListResponse)
Declaration
public void MergeFrom(GetPeerListResponse other)
Parameters
Type | Name | Description |
---|---|---|
GetPeerListResponse | other |
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type | Name | Description |
---|---|---|
Google.Protobuf.CodedInputStream | input |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type | Name | Description |
---|---|---|
Google.Protobuf.CodedOutputStream | output |
Explicit Interface Implementations
| Improve this Doc View SourceIMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type | Description |
---|---|
Google.Protobuf.Reflection.MessageDescriptor |
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IMessage
System.IEquatable<T>
Google.Protobuf.IDeepCloneable<T>