23 #ifndef PROTOCOL_MESSAGE_FORMATTER_H 24 #define PROTOCOL_MESSAGE_FORMATTER_H 28 #include "../datamodel/searchmodel.h" 116 const quint32 aTimeOfOldestMsgToSend) ;
132 const quint32 aTimeOfOldestMsgToSend) ;
154 const quint32 aStartingTimestamp,
155 const quint32 aEndingTimestamp) ;
189 static QByteArray
contentPublish(
const unsigned char aContentMagicNumber,
190 const Hash& aContentHash,
191 const QByteArray& aContent,
192 const QByteArray& aSignature,
193 const QList<quint32>& aBangPath,
194 const QByteArray& aSigningKey,
195 bool aIsContentEncrypted,
196 bool aIsContentCompressed,
197 quint32 aTimeStamp ) ;
203 const QByteArray& aContent,
204 const QByteArray& aSignature,
205 const QList<quint32>& aBangPath,
206 const Hash& aDestination,
207 const Hash& aRecipient,
208 quint32 aTimeStamp ) ;
215 const QByteArray& aContent,
216 const QByteArray& aSignature,
217 const Hash& aDestination,
218 const Hash& aRecipient,
219 quint32 aTimeStamp ) ;
231 const QByteArray& aContent,
232 const QByteArray& aSignature,
233 const QList<quint32>& aBangPath,
234 const Hash& aProfileCommented,
242 const QByteArray& aContent,
243 const QByteArray& aSignature,
244 const Hash& aProfileCommented,
253 static QByteArray
contentSend(
const unsigned char aContentMagicNumber,
254 const Hash& aContentHash,
255 const QByteArray& aContent,
256 const QByteArray& aSignature,
257 const QByteArray& aSigningKey,
258 bool aIsContentEncrypted,
259 bool aIsContentCompressed,
260 quint32 aTimeStamp ) ;
263 const QList<QPair<Hash,quint32> >& aListOfAds ) ;
268 static QByteArray
searchSend(
const QString& aSearch,
270 bool aSearchProfiles,
271 bool aSearchComments,
272 const Hash& aSearchIdentifier) ;
277 static QByteArray
searchResultsSend(
const QList<SearchModel::SearchResultItem>& aResults,
292 const Hash& aSelectedProfile,
293 bool aDoSign =
true ) ;
306 const QByteArray& aPayload ) ;
315 const unsigned char aContentMagicNumber,
316 const Hash& aContentHash,
317 const QByteArray& aContent,
318 const QByteArray& aSignature,
319 const QList<quint32>& aBangPath,
320 const QByteArray& aSigningKey,
321 bool aIsContentEncrypted,
322 bool aIsContentCompressed,
331 const QByteArray& aContent,
332 const QByteArray& aSignature,
333 const QList<quint32>& aBangPath,
334 const Hash& aProfileCommented,
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:43
PayloadType
Definition: mvoicecallengine.h:63
Class that represents a network connection.
Definition: connection.h:43