Show / Hide Table of Contents

Class Message

Inheritance
Object
Message
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 class Message

Constructors

| Improve this Doc View Source

Message(MessageContent, AppProtocolVersion, BoundPeer, DateTimeOffset, Byte[])

Declaration
public Message(MessageContent content, AppProtocolVersion version, BoundPeer remote, DateTimeOffset timestamp, byte[] identity)
Parameters
Type Name Description
MessageContent content
AppProtocolVersion version
BoundPeer remote
DateTimeOffset timestamp
Byte[] identity

Properties

| Improve this Doc View Source

Content

The body of the message that contains the message type and data.

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

Identity

The byte array identifies the message to match between message and its respond used in NetMQ.

Declaration
public byte[] Identity { get; }
Property Value
Type Description
Byte[]
| Improve this Doc View Source

Remote

The BoundPeer representation of sender of the given Message.

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

Timestamp

The DateTimeOffset of the Message.

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

Version

The AppProtocolVersion of sender of the Message.

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