23 #ifndef PROTOCOL_MESSAGE_FORMATTER_H 24 #define PROTOCOL_MESSAGE_FORMATTER_H 28 #include "../datamodel/searchmodel.h" 117 const quint32 aTimeOfOldestMsgToSend) ;
133 const quint32 aTimeOfOldestMsgToSend) ;
155 const quint32 aStartingTimestamp,
156 const quint32 aEndingTimestamp) ;
190 static QByteArray
contentPublish(
const unsigned char aContentMagicNumber,
191 const Hash& aContentHash,
192 const QByteArray& aContent,
193 const QByteArray& aSignature,
194 const QList<quint32>& aBangPath,
195 const QByteArray& aSigningKey,
196 bool aIsContentEncrypted,
197 bool aIsContentCompressed,
198 quint32 aTimeStamp ) ;
204 const QByteArray& aContent,
205 const QByteArray& aSignature,
206 const QList<quint32>& aBangPath,
207 const Hash& aDestination,
208 const Hash& aRecipient,
209 quint32 aTimeStamp ) ;
216 const QByteArray& aContent,
217 const QByteArray& aSignature,
218 const Hash& aDestination,
219 const Hash& aRecipient,
220 quint32 aTimeStamp ) ;
232 const QByteArray& aContent,
233 const QByteArray& aSignature,
234 const QList<quint32>& aBangPath,
235 const Hash& aProfileCommented,
244 const QByteArray& aContent,
245 const QByteArray& aSignature,
246 const Hash& aProfileCommented,
256 const QList<quint32>& aBangPath) ;
269 static QByteArray
contentSend(
const unsigned char aContentMagicNumber,
270 const Hash& aContentHash,
271 const QByteArray& aContent,
272 const QByteArray& aSignature,
273 const QByteArray& aSigningKey,
274 bool aIsContentEncrypted,
275 bool aIsContentCompressed,
276 quint32 aTimeStamp ) ;
279 const QList<QPair<Hash,quint32> >& aListOfAds ) ;
284 static QByteArray
searchSend(
const QString& aSearch,
286 bool aSearchProfiles,
287 bool aSearchComments,
288 const Hash& aSearchIdentifier) ;
293 static QByteArray
searchResultsSend(
const QList<SearchModel::SearchResultItem>& aResults,
314 const Hash& aSelectedProfile,
315 bool aDoSign =
true ) ;
328 const QByteArray& aPayload ) ;
337 const unsigned char aContentMagicNumber,
338 const Hash& aContentHash,
339 const QByteArray& aContent,
340 const QByteArray& aSignature,
341 const QList<quint32>& aBangPath,
342 const QByteArray& aSigningKey,
343 bool aIsContentEncrypted,
344 bool aIsContentCompressed,
353 const QByteArray& aContent,
354 const QByteArray& aSignature,
355 const QList<quint32>& aBangPath,
356 const Hash& aProfileCommented,
371 const QList<quint32>& aBangPath,
Node is a peer in network.
Definition: node.h:40
Carrier-class handling audio negotiation setup and data.
Definition: voicecall.h:40
Hash is class that carries 160-bit digest.
Definition: hash.h:38
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:48
PayloadType
Definition: mvoicecallengine.h:63
Class that represents a network connection.
Definition: connection.h:43
Data record in distributed database.
Definition: cadbrecord.h:35
Definition: cadbrecord.h:40