22 #ifndef PUBLISHING_ENG_H
23 #define PUBLISHING_ENG_H
25 #include <QHostAddress>
28 #include "../controller.h"
29 #include "../datamodel/model.h"
55 void error(QTcpSocket::SocketError socketError);
62 const Hash aHashOfAttemptedNode );
Class for keeping app state.
Definition: controller.h:42
Model & iModel
Definition: publishingengine.h:83
QList< Hash > iNodesFailurefullyConnected
Definition: publishingengine.h:88
bool iNeedsToRun
Definition: publishingengine.h:80
Hash is class that carries 160-bit digest.
Definition: hash.h:37
StageOfPublish iStageOfPublish
Definition: publishingengine.h:89
ConnectionState
Definition: connection.h:45
QList< Node * > iNodeCandidatesToTryPush
Definition: publishingengine.h:86
void nodeConnectionAttemptStatus(Connection::ConnectionState aStatus, const Hash aHashOfAttemptedNode)
bool iNowRunning
Definition: publishingengine.h:90
void error(QTcpSocket::SocketError socketError)
void sendPublishItemToAlreadyConnectedNodes()
StageOfPublish
Definition: publishingengine.h:70
void emptyNodeCandidateList()
M of the MVC pattern. Handles permanent storage.
Definition: model.h:47
PublishItem iWorkItem
Definition: publishingengine.h:84
void publishToNode(const Hash &aNode)
Definition: publishingengine.h:72
void askConnectionsForNodesOnPublishList()
QList< Hash > iNodesSuccessfullyConnected
Definition: publishingengine.h:87
Network-connection logic relating content publish demands.
Definition: publishingengine.h:40
void checkForSuccessfullyConnectedNodes()
Carrier for keeping state of item about to be published.
Definition: protocol.h:168
void checkForUnSuccessfullyConnectedNodes()
Controller * iController
Definition: publishingengine.h:82
Definition: publishingengine.h:71
PublishingEngine(Controller *aController, Model &aModel)