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