Show / Hide Table of Contents

    Class ProtocolErrorMessage

    * Provides a network error message, for when a node cant send/ build a valid response

    Inheritance
    System.Object
    ProtocolErrorMessage
    Implements
    Google.Protobuf.IMessage<ProtocolErrorMessage>
    Google.Protobuf.IMessage
    System.IEquatable<ProtocolErrorMessage>
    Google.Protobuf.IDeepCloneable<ProtocolErrorMessage>
    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.Wire
    Assembly: Catalyst.Protocol.dll
    Syntax
    public sealed class ProtocolErrorMessage : IMessage<ProtocolErrorMessage>, IMessage, IEquatable<ProtocolErrorMessage>, IDeepCloneable<ProtocolErrorMessage>

    Constructors

    | Improve this Doc View Source

    ProtocolErrorMessage()

    Declaration
    public ProtocolErrorMessage()
    | Improve this Doc View Source

    ProtocolErrorMessage(ProtocolErrorMessage)

    Declaration
    public ProtocolErrorMessage(ProtocolErrorMessage other)
    Parameters
    Type Name Description
    ProtocolErrorMessage other

    Fields

    | Improve this Doc View Source

    CodeFieldNumber

    Field number for the "code" field.

    Declaration
    public const int CodeFieldNumber = 4
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    CorrelationIdFieldNumber

    Field number for the "correlation_id" field.

    Declaration
    public const int CorrelationIdFieldNumber = 3
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    PeerIdFieldNumber

    Field number for the "peer_id" field.

    Declaration
    public const int PeerIdFieldNumber = 2
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SignatureFieldNumber

    Field number for the "signature" field.

    Declaration
    public const int SignatureFieldNumber = 1
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    Code

    Declaration
    public int Code { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    CorrelationId

    Declaration
    public ByteString CorrelationId { get; set; }
    Property Value
    Type Description
    Google.Protobuf.ByteString
    | Improve this Doc View Source

    Descriptor

    Declaration
    public static MessageDescriptor Descriptor { get; }
    Property Value
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor
    | Improve this Doc View Source

    Parser

    Declaration
    public static MessageParser<ProtocolErrorMessage> Parser { get; }
    Property Value
    Type Description
    Google.Protobuf.MessageParser<ProtocolErrorMessage>
    | Improve this Doc View Source

    PeerId

    Declaration
    public PeerId PeerId { get; set; }
    Property Value
    Type Description
    PeerId
    | Improve this Doc View Source

    Signature

    Declaration
    public Signature Signature { get; set; }
    Property Value
    Type Description
    Signature

    Methods

    | Improve this Doc View Source

    CalculateSize()

    Declaration
    public int CalculateSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Clone()

    Declaration
    public ProtocolErrorMessage Clone()
    Returns
    Type Description
    ProtocolErrorMessage
    | Improve this Doc View Source

    Equals(ProtocolErrorMessage)

    Declaration
    public bool Equals(ProtocolErrorMessage other)
    Parameters
    Type Name Description
    ProtocolErrorMessage other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    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(ProtocolErrorMessage)

    Declaration
    public void MergeFrom(ProtocolErrorMessage other)
    Parameters
    Type Name Description
    ProtocolErrorMessage other
    | Improve this Doc View Source

    MergeFrom(CodedInputStream)

    Declaration
    public void MergeFrom(CodedInputStream input)
    Parameters
    Type Name Description
    Google.Protobuf.CodedInputStream input
    | Improve this Doc View Source

    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 Source

    IMessage.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>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network