Classified ads
Public Attributes | List of all members
PublishItem Struct Reference

Carrier for keeping state of item about to be published. More...

#include <protocol.h>

Collaboration diagram for PublishItem:
Collaboration graph
[legend]

Public Attributes

ProtocolItemType iObjectType
 
Hash iObjectHash
 
QList< quint32 > iAlreadyPushedHosts
 
Hash i2NdAddr
 

Detailed Description

Carrier for keeping state of item about to be published.

This struct carries data needed to publish-operation. This is just collection of identifier of the actual object and brief list of nodes where it has been already pushed to

Member Data Documentation

◆ i2NdAddr

Hash PublishItem::i2NdAddr

CAs and comments get published twice, here is the 2nd addr

◆ iAlreadyPushedHosts

QList<quint32> PublishItem::iAlreadyPushedHosts

low order hash bits of nodes that already have the content

◆ iObjectHash

Hash PublishItem::iObjectHash

Identifier of the data itself

◆ iObjectType

ProtocolItemType PublishItem::iObjectType

profile,classified ad,priv-msg etc


The documentation for this struct was generated from the following file: