A SyncRootStruct object holds the necessary data for a root sync tree. More...
Data Fields | |
unsigned | rootId |
root Id for reporting | |
struct SyncBaseStruct * | base |
Sync Agent base. | |
struct SyncRootStruct * | next |
next root in our list | |
struct SyncRootPrivate * | priv |
private to SyncRoot | |
struct SyncHashCacheHead * | ch |
cache head | |
struct ccn_charbuf * | topoPrefix |
Sync Protocol topo prefix. | |
struct ccn_charbuf * | namingPrefix |
Sync Protocol naming prefix. | |
struct SyncNameAccum * | filter |
filter clauses | |
struct ccn_charbuf * | currentHash |
current top-level cache hash | |
struct SyncNameAccum * | namesToAdd |
names needing addition to root | |
struct SyncNameAccum * | namesToFetch |
names needing contents fetch | |
struct SyncActionData * | actions |
data for pending interests | |
struct SyncCompareData * | compare |
data for doing sync tree comparison | |
struct SyncUpdateData * | update |
data for doing sync tree updates | |
struct ccn_charbuf * | sliceCoding |
ccnb encoding for the description | |
struct ccn_charbuf * | sliceHash |
the raw hash of the sliceCoding |
A SyncRootStruct object holds the necessary data for a root sync tree.
Definition at line 37 of file SyncRoot.h.
data for pending interests
Definition at line 49 of file SyncRoot.h.
Referenced by delinkActionData(), destroyCompareData(), linkActionData(), moveActionData(), SyncFindAction(), SyncRemRoot(), and SyncStartNodeFetch().
struct SyncBaseStruct* SyncRootStruct::base |
Sync Agent base.
Definition at line 39 of file SyncRoot.h.
Referenced by abortCompare(), addNameFromCompare(), AddUpdateName(), ccns_root_advise_response(), ccns_send_root_advise_interest(), chooseRemoteHash(), CompareAction(), destroyCompareData(), doPreload(), extractNode(), kickHeartBeat(), linkActionData(), MakeNodeFromNames(), newNodeCommon(), nodeFromNodes(), noteHash(), noteRemoteHash(), purgeOldEntries(), SendDeltasReply(), setCovered(), SyncAddRoot(), SyncCacheEntryFetch(), SyncCacheEntryStore(), SyncInterestArrived(), SyncNoteFailed(), SyncNoteSimple(), SyncNoteSimple2(), SyncNoteSimple3(), SyncNoteUri(), SyncRegisterInterest(), SyncRegisterInterests(), SyncRemoteFetchResponse(), SyncRemRoot(), SyncRootAdviseResponse(), SyncRootLookupName(), SyncSendRootAdviseInterest(), SyncStartCompareAction(), SyncStartContentFetch(), SyncStartNodeFetch(), SyncStartSliceEnum(), SyncTreeMergeNames(), SyncUpdateRoot(), and TryNodeSplit().
struct SyncHashCacheHead* SyncRootStruct::ch |
cache head
Definition at line 42 of file SyncRoot.h.
Referenced by cacheEntryForElem(), ccns_root_advise_response(), ccns_send_root_advise_interest(), CompareAction(), doPreload(), ensureRemoteEntry(), MakeNodeFromNames(), newNodeCommon(), nodeFromNodes(), purgeOldEntries(), SyncAddRoot(), SyncInterestArrived(), SyncRemoteFetchResponse(), SyncRemRoot(), SyncRootAdviseResponse(), SyncRootTopEntry(), SyncStartCompareAction(), and testReadBuilder().
struct SyncCompareData* SyncRootStruct::compare |
data for doing sync tree comparison
Definition at line 50 of file SyncRoot.h.
Referenced by destroyCompareData(), formatStats(), HeartbeatAction(), SyncRemRoot(), and SyncStartCompareAction().
current top-level cache hash
Definition at line 46 of file SyncRoot.h.
Referenced by addNameFromCompare(), ccns_send_root_advise_interest(), CompareAction(), exclusionsFromHashList(), formatStats(), SyncAddRoot(), SyncInterestArrived(), SyncRemRoot(), SyncRootTopEntry(), SyncSendRootAdviseInterest(), SyncStartCompareAction(), SyncUpdateRoot(), and testReadBuilder().
struct SyncNameAccum* SyncRootStruct::filter |
filter clauses
Definition at line 45 of file SyncRoot.h.
Referenced by SyncAddRoot(), SyncRegisterInterests(), SyncRootAppendSlice(), and SyncRootLookupName().
names needing addition to root
Definition at line 47 of file SyncRoot.h.
Referenced by formatStats(), HeartbeatAction(), isRootStableEnough(), SyncAddName(), SyncAddRoot(), SyncInterestArrived(), SyncRemRoot(), SyncUpdateRoot(), and testReadBuilder().
names needing contents fetch
Definition at line 48 of file SyncRoot.h.
Referenced by addNameFromCompare(), CompareAction(), destroyCompareData(), formatStats(), SyncAddRoot(), SyncRemRoot(), and SyncStartCompareAction().
Sync Protocol naming prefix.
Definition at line 44 of file SyncRoot.h.
Referenced by SyncAddRoot(), SyncRegisterInterests(), SyncRootAppendSlice(), SyncRootLookupName(), and SyncStartSliceEnum().
struct SyncRootStruct* SyncRootStruct::next |
next root in our list
Definition at line 40 of file SyncRoot.h.
Referenced by findAndDeleteRoot(), HeartbeatAction(), SyncAddName(), SyncAddRoot(), SyncHandleSlice(), SyncNotifyContent(), and SyncRemRoot().
struct SyncRootPrivate* SyncRootStruct::priv |
private to SyncRoot
Definition at line 41 of file SyncRoot.h.
Referenced by abortCompare(), ccns_root_advise_response(), ccns_send_root_advise_interest(), chooseRemoteHash(), CloseUpdateCoding(), CompareAction(), extractDeltas(), formatStats(), HeartbeatAction(), linkActionData(), MakeNodeFromNames(), NewDeltas(), newNodeCommon(), noteHash(), noteRemoteHash(), purgeOldEntries(), RemRootDeltas(), scanDeltas(), scanRemoteSeen(), SendDeltasReply(), SyncAddName(), SyncAddRoot(), SyncInterestArrived(), SyncNotifyContent(), SyncRegisterInterests(), SyncRemoteFetchResponse(), SyncRemRoot(), SyncRootAdviseResponse(), SyncSendRootAdviseInterest(), SyncStartCompareAction(), SyncStartContentFetch(), SyncStartNodeFetch(), SyncStartSliceEnum(), and SyncUpdateRoot().
unsigned SyncRootStruct::rootId |
root Id for reporting
Definition at line 38 of file SyncRoot.h.
Referenced by abortCompare(), CompareAction(), findAndDeleteRoot(), formatStats(), newNodeCommon(), nodeFromNodes(), noteHash(), noteRemoteHash(), SyncAddRoot(), SyncNoteFailed(), SyncNoteSimple(), SyncNoteSimple2(), SyncNoteSimple3(), SyncNoteUri(), SyncRegisterInterests(), SyncStartCompareAction(), and SyncUpdateRoot().
ccnb encoding for the description
Definition at line 52 of file SyncRoot.h.
Referenced by SyncAddRoot(), and SyncRemRoot().
struct ccn_charbuf* SyncRootStruct::sliceHash |
the raw hash of the sliceCoding
Definition at line 53 of file SyncRoot.h.
Referenced by constructCommandPrefix(), findAndDeleteRoot(), SyncAddRoot(), SyncHandleSlice(), SyncNameForLocalNode(), SyncRegisterInterests(), and SyncRemRoot().
Sync Protocol topo prefix.
Definition at line 43 of file SyncRoot.h.
Referenced by constructCommandPrefix(), SyncAddRoot(), SyncNameForLocalNode(), SyncRegisterInterests(), and SyncRootAppendSlice().
struct SyncUpdateData* SyncRootStruct::update |
data for doing sync tree updates
Definition at line 51 of file SyncRoot.h.
Referenced by formatStats(), HeartbeatAction(), SyncStartCompareAction(), and SyncUpdateRoot().