Manages clients accessing Mp7Jrs and need to register for locks and write access.
More...
Static Public Member Functions |
| static Mp7JrsClientID | GetNewID (Mp7JrsNotificationListener *listener) |
| | Get a new client ID.
|
| static Mp7JrsNotificationListener * | GetListener (Mp7JrsClientID id) |
| | Get the listener associated with the given client ID.
|
|
static void | Unregister (Mp7JrsClientID id) |
|
static void | SendUpdateNotification (Mp7JrsNodePtr sender, Mp7JrsNotificationAction action, Mp7JrsClientID client, Mp7JrsNodePtr second, int index=0) |
|
static void | SetNotificationsEnabled (bool enabled) |
|
static void | SetLockingEnabled (bool enabled) |
|
static bool | IsNotificationsEnabled () |
|
static bool | IsLockingEnabled () |
Static Protected Member Functions |
|
static void | QueueForLock (Mp7JrsNodePtr sender, Mp7JrsClientID client, bool forAdd) |
|
static bool | SendLockRequestNotification (Mp7JrsNodePtr sender, Mp7JrsClientID client, bool forAdd, bool notify) |
|
static void | SendLockNotification (Mp7JrsNodePtr sender, Mp7JrsClientID client, bool forAdd) |
|
static void | SendUnlockNotification (Mp7JrsNodePtr sender) |
|
static void | Register (Mp7JrsClientID id, Mp7JrsNotificationAction action, Mp7JrsNodePtr node, bool recursive=false) |
|
static void | Unregister (Mp7JrsClientID id, Mp7JrsNotificationAction action, Mp7JrsNodePtr node) |
Manages clients accessing Mp7Jrs and need to register for locks and write access.