OverSim
|
#include <PubSubSubspace.h>
Classes | |
class | IntermediateNode |
Public Attributes | |
std::deque< IntermediateNode > | intermediateNodes |
std::map< NodeHandle, bool > | cachedChildren |
std::deque< PubSubMoveMessage * > | waitingMoveMessages |
Public Attributes inherited from PubSubSubspaceIntermediate | |
std::set< NodeHandle > | children |
Static Public Attributes | |
static unsigned int | maxChildren |
Protected Attributes | |
int | totalChildrenCount |
NodeHandle | backupNode |
PubSubTimer * | heartbeatTimer |
int | heartbeatFailCount |
Friends | |
std::ostream & | operator<< (std::ostream &o, const PubSubSubspaceResponsible &subspace) |
Definition at line 81 of file PubSubSubspace.h.
PubSubSubspaceResponsible::PubSubSubspaceResponsible | ( | PubSubSubspaceId | id | ) |
Definition at line 63 of file PubSubSubspace.cc.
|
virtual |
Reimplemented from PubSubSubspaceIntermediate.
Definition at line 72 of file PubSubSubspace.cc.
Referenced by PubSubMMOG::handleSubscriptionBackup().
void PubSubSubspaceResponsible::fixTotalChildrenCount | ( | ) |
Definition at line 118 of file PubSubSubspace.cc.
Referenced by PubSubMMOG::handleAdoptChildResponse(), PubSubMMOG::handleHelpResponse(), PubSubMMOG::handleIntermediateResponse(), PubSubMMOG::handlePingCallTimeout(), PubSubMMOG::handleSubscriptionCall(), PubSubMMOG::takeOverSubspace(), and PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 101 of file PubSubSubspace.h.
Referenced by PubSubMMOG::handleIntermediateResponse(), PubSubMMOG::handlePingCallTimeout(), PubSubMMOG::sendMessageToChildren(), and PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 106 of file PubSubSubspace.h.
|
inline |
Definition at line 104 of file PubSubSubspace.h.
PubSubSubspaceResponsible::IntermediateNode * PubSubSubspaceResponsible::getNextFreeIntermediate | ( | ) |
Definition at line 106 of file PubSubSubspace.cc.
Referenced by PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 113 of file PubSubSubspace.h.
Referenced by addChild(), PubSubMMOG::handleUnsubscribeBackup(), and PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 110 of file PubSubSubspace.h.
Referenced by PubSubMMOG::handleAdoptChildResponse(), PubSubMMOG::handleHelpResponse(), PubSubMMOG::handlePingCallTimeout(), PubSubMMOG::handleSubscriptionCall(), and PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 107 of file PubSubSubspace.h.
|
virtual |
Definition at line 89 of file PubSubSubspace.cc.
Referenced by PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 108 of file PubSubSubspace.h.
|
inline |
Definition at line 100 of file PubSubSubspace.h.
Referenced by PubSubMMOG::handleHelpResponse(), and PubSubMMOG::handlePingCallTimeout().
|
inline |
Definition at line 103 of file PubSubSubspace.h.
Referenced by PubSubMMOG::handleBackupCall().
|
friend |
Definition at line 127 of file PubSubSubspace.cc.
|
protected |
Definition at line 120 of file PubSubSubspace.h.
Referenced by getBackupNode(), operator<<(), PubSubSubspaceResponsible(), and setBackupNode().
std::map<NodeHandle,bool> PubSubSubspaceResponsible::cachedChildren |
Definition at line 93 of file PubSubSubspace.h.
Referenced by addChild(), fixTotalChildrenCount(), PubSubMMOG::handleBackupCall(), PubSubMMOG::handleHelpResponse(), PubSubMMOG::handleIntermediateResponse(), PubSubMMOG::handlePingCallTimeout(), PubSubMMOG::handleSubscriptionBackup(), PubSubMMOG::handleUnsubscribeBackup(), operator<<(), PubSubMMOG::publishEvents(), removeAnyChild(), PubSubMMOG::sendMessageToChildren(), and PubSubMMOG::unsubscribeChild().
|
protected |
Definition at line 123 of file PubSubSubspace.h.
Referenced by getHeartbeatFailCount(), incHeartbeatFailCount(), PubSubSubspaceResponsible(), and resetHeartbeatFailCount().
|
protected |
Definition at line 122 of file PubSubSubspace.h.
Referenced by getHeartbeatTimer(), PubSubSubspaceResponsible(), and setHeartbeatTimer().
std::deque<IntermediateNode> PubSubSubspaceResponsible::intermediateNodes |
Definition at line 92 of file PubSubSubspace.h.
Referenced by fixTotalChildrenCount(), getNextFreeIntermediate(), getNumIntermediates(), PubSubMMOG::handleBackupCall(), PubSubMMOG::handleHelpResponse(), PubSubMMOG::handleIntermediateResponse(), PubSubMMOG::handlePingCallTimeout(), PubSubMMOG::handleSubscriptionBackup(), PubSubMMOG::handleUnsubscribeBackup(), operator<<(), PubSubMMOG::publishEvents(), removeAnyChild(), PubSubMMOG::sendMessageToChildren(), and PubSubMMOG::unsubscribeChild().
|
static |
Definition at line 97 of file PubSubSubspace.h.
Referenced by addChild(), getNextFreeIntermediate(), and PubSubMMOG::initializeOverlay().
|
protected |
Definition at line 119 of file PubSubSubspace.h.
Referenced by addChild(), fixTotalChildrenCount(), getTotalChildrenCount(), operator<<(), PubSubSubspaceResponsible(), and removeAnyChild().
std::deque<PubSubMoveMessage*> PubSubSubspaceResponsible::waitingMoveMessages |
Definition at line 95 of file PubSubSubspace.h.
Referenced by PubSubMMOG::publishEvents().