class documentation
Stores registrations for Master.
RegistrationManager is not threadsafe, so access must be externally locked as appropriate
Method | __init__ |
ctor. @param thread_pool: thread pool for queueing tasks @type thread_pool: ThreadPool |
Method | get |
Undocumented |
Method | register |
Register param subscriber @return: None |
Method | register |
Register topic publisher @return: None |
Method | register |
Register service provider @return: None |
Method | register |
Register topic subscriber @return: None |
Method | reverse |
Get a NodeRef by caller_api @param caller_api: caller XML RPC URI @type caller_api: str @return: nodes that declare caller_api as their API. 99.9% of the time this should only be one node, but we allow for multiple matches as the master API does not restrict this... |
Method | unregister |
Undocumented |
Method | unregister |
Undocumented |
Method | unregister |
Undocumented |
Method | unregister |
Undocumented |
Instance Variable | nodes |
Undocumented |
Instance Variable | param |
Undocumented |
Instance Variable | publishers |
Undocumented |
Instance Variable | services |
Undocumented |
Instance Variable | subscribers |
Undocumented |
Instance Variable | thread |
Undocumented |
Method | _register |
Undocumented |
Method | _register |
@param caller_id: caller_id of provider @type caller_id: str @param caller_api: caller_api of provider @type caller_api: str @return: (registration_information, changed_registration). changed_registration is true if caller_api is differet than the one registered with caller_id @rtype: (NodeRef, bool)... |
Method | _unregister |
Undocumented |
Get a NodeRef by caller_api @param caller_api: caller XML RPC URI @type caller_api: str @return: nodes that declare caller_api as their API. 99.9% of the time this should only be one node, but we allow for multiple matches as the master API does not restrict this. @rtype: [NodeRef]
@param caller_id: caller_id of provider @type caller_id: str @param caller_api: caller_api of provider @type caller_api: str @return: (registration_information, changed_registration). changed_registration is true if caller_api is differet than the one registered with caller_id @rtype: (NodeRef, bool)