Show / Hide Table of Contents

Class PublishedMessage

A published messaged for a topic(s).

Inheritance
Object
PublishedMessage
Implements
IPublishedMessage
IDataBlock
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: PeerTalk.PubSub
Assembly: PeerTalk.dll
Syntax
[ProtoContract]
public class PublishedMessage : IPublishedMessage, IDataBlock
Remarks

TODO: Sender should really be called Author.

Properties

| Improve this Doc View Source

DataBytes

Declaration
[ProtoMember(2)]
public byte[] DataBytes { get; set; }
Property Value
Type Description
Byte[]
| Improve this Doc View Source

DataStream

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

Forwarder

Who sent the the message.

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

Id

> NOT SUPPORTED, use MessageId.

Declaration
public Cid Id { get; }
Property Value
Type Description
Cid
Exceptions
Type Condition
NotSupportedException

A published message does not have a content id.

| Improve this Doc View Source

MessageId

A universally unique id for the message.

Declaration
public string MessageId { get; }
Property Value
Type Description
String

The sender's ID concatenated with the SequenceNumber.

| Improve this Doc View Source

Sender

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

SequenceNumber

Declaration
[ProtoMember(3)]
public byte[] SequenceNumber { get; set; }
Property Value
Type Description
Byte[]
| Improve this Doc View Source

Size

Declaration
public long Size { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

Topics

Declaration
[ProtoMember(4)]
public IEnumerable<string> Topics { get; set; }
Property Value
Type Description
IEnumerable<String>

Implements

IPublishedMessage
IDataBlock
  • Improve this Doc
  • View Source
Back to top Generated by DocFX