21 #ifndef CLASSIFIED_NETREQEXEC_H 22 #define CLASSIFIED_NETREQEXEC_H 25 #include "../net/protocol.h" 27 #include "../net/connection.h" 155 const Hash& aNodeToSend = KNullHash ) ;
162 bool aUseContentHashNotDestination =
false) ;
220 const Hash aHashOfAttemptedNode );
QList< Hash > iWishListForNodesAround
Definition: netrequestexecutor.h:90
QList< quint32 > iBangPath
Definition: netrequestexecutor.h:84
void processPrivateMessagesForProfile(NetworkRequestQueueItem &aEntry)
void processRequestForBinaryBlob(NetworkRequestQueueItem &aEntry)
MController * iController
Definition: netrequestexecutor.h:222
Definition: netrequestexecutor.h:52
Logic for handling tasks received from other peers or from user.
Definition: netrequestexecutor.h:40
void processBinaryBlob(NetworkRequestQueueItem &aEntry)
Definition: netrequestexecutor.h:51
bool iNowRunning
Definition: netrequestexecutor.h:224
void processClassifiedAd(NetworkRequestQueueItem &aEntry)
ProtocolItemType iRequestType
Definition: netrequestexecutor.h:76
time_t iLastTimeOfNodeConnectedNodeStatusUpdate
Definition: netrequestexecutor.h:225
Definition: netrequestexecutor.h:48
Hash is class that carries 160-bit digest.
Definition: hash.h:38
ConnectionState
Definition: connection.h:47
void processUserProfileComment(NetworkRequestQueueItem &aEntry)
ProtocolItemType
Definition: protocol.h:157
void processNodeGreeting(NetworkRequestQueueItem &aEntry)
void processRequestForClassifiedAd(NetworkRequestQueueItem &aEntry)
void doSendRequestToNode(NetworkRequestQueueItem &aEntry, const Hash &aNodeToSend=KNullHash)
Definition: netrequestexecutor.h:49
void processUserProfile(NetworkRequestQueueItem &aEntry)
quint32 iTimeStampOfItem
Definition: netrequestexecutor.h:79
void processRequestForUserProfileComment(NetworkRequestQueueItem &aEntry)
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:48
void nodeConnectionAttemptStatus(Connection::ConnectionState aStatus, const Hash aHashOfAttemptedNode)
void processRequestForProfilePoll(NetworkRequestQueueItem &aEntry)
NetworkRequestExecutor(MController *aController, Model &aModel)
M of the MVC pattern. Handles permanent storage.
Definition: model.h:50
void processUserProfileCommentsForProfile(NetworkRequestQueueItem &entry)
void processAdsClassified(NetworkRequestQueueItem &aEntry)
void sendRequestToNodesAroundHash(NetworkRequestQueueItem &aEntry, bool aUseContentHashNotDestination=false)
Work queue item.
Definition: netrequestexecutor.h:60
void processRequestForPrivateMessagePublish(NetworkRequestQueueItem &aEntry)
~NetworkRequestExecutor()
Hash iDestinationNode
Definition: netrequestexecutor.h:77
void processRequestForUserProfile(NetworkRequestQueueItem &aEntry)
int iMaxNumberOfItems
Definition: netrequestexecutor.h:82
NetworkRequestState
Definition: netrequestexecutor.h:47
void processRequestForNodesAroundHash(NetworkRequestQueueItem &entry)
Hash iRequestedItem
Definition: netrequestexecutor.h:78
NetworkRequestState iState
Definition: netrequestexecutor.h:81
void processPrivateMessage(NetworkRequestQueueItem &aEntry)
Definition: netrequestexecutor.h:50
Model & iModel
Definition: netrequestexecutor.h:223
quint32 iTimeStampOfLastActivity
Definition: netrequestexecutor.h:80
void processRequestForContentPublish(NetworkRequestQueueItem &entry)