Show / Hide Table of Contents

Class MessageContent

Serves as the base class for messages used in ITransport.

Inheritance
Object
MessageContent
ConsensusMsg
DifferentVersionMsg
FindNeighborsMsg
HaveMessage
NeighborsMsg
PingMsg
PongMsg
WantMessage
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Net.Messages
Assembly: Libplanet.Net.dll
Syntax
public abstract class MessageContent

Properties

| Improve this Doc View Source

DataFrames

The body of the message.

Declaration
public abstract IEnumerable<byte[]> DataFrames { get; }
Property Value
Type Description
IEnumerable<Byte[]>
| Improve this Doc View Source

Id

A bytearray representing SHA-256 digest of MessageContent.

Declaration
[Pure]
[NotLogged]
public MessageId Id { get; }
Property Value
Type Description
MessageId

A mutable Byte array representing SHA-256 digest of Message.

| Improve this Doc View Source

Type

The type of the message.

Declaration
public abstract MessageContent.MessageType Type { get; }
Property Value
Type Description
MessageContent.MessageType
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium