-
class
StorageReflectSession::DataNode
(Return to index)
-
Type:
Include file:
../../reflector/StorageReflectSession.h
Synopsis:
Public methods:
- public uint32
CountChildren () const
- public
DataNode ()
- public status_t
GetChild (const char * key, DataNodeRef & returnChild) const
- public DataNodeRefIterator
GetChildIterator () const
- public PortableMessageRef
GetData ()
- public int
GetDepth () const
- public const char *
GetNodeName () const
- public const char *
GetNodePath () const
- public DataNode *
GetParent () const
Calculates and returns our full path (e.g. "/hostname/sessionname/blah/blah/blah/_nodeName"
- public PortableHashtableIterator<const char *, uint32>
GetSubscribers () const
Returns an iterator for our subscribers
- public bool
HasChild (const char * key) const
- public void
IncrementSubscriptionRefCount (const char * sessionID, long delta)
Changes the refcount for the given sessionID.
Any sessionID's with (refCount > 0) will be in the GetSubscribers() list.
- public void
PutChild (DataNodeRef & child, StorageReflectSession * optNotifyWithOnSetParent, StorageReflectSession * optNotifyWithOnChangedData)
- public status_t
RemoveChild (const char * key, StorageReflectSession * optNotifyWith, bool recurse)
- public void
Reset ()
Returns us to our virgin, pre-Init() state.
- public void
SetData (PortableMessageRef data, StorageReflectSession * optNotifyWith)
- public
~DataNode ()
Don't use this, use StorageReflectSesssion::ReleaseDataNode() instead!
Friend methods: