class InMemoryRegistry: (source)
Implements interfaces: twisted.protocols.sip.ILocator
, twisted.protocols.sip.IRegistry
A simplistic registry for a specific domain.
Method | __init__ |
Undocumented |
Instance Variable | domain |
Undocumented |
Instance Variable | users |
Undocumented |
Method | getAddress |
Return physical URL of server for logical URL of user. |
Method | getRegistrationInfo |
Get registration info for logical URL. |
Method | registerAddress |
Register the physical address of a logical URL. |
Method | unregisterAddress |
Unregister the physical address of a logical URL. |
Method | _expireRegistration |
Undocumented |
Return physical URL of server for logical URL of user.
Parameters | userURI | Undocumented |
logicalURL | a logical URL . | |
Returns | Deferred which becomes URL or fails with LookupError. |
Get registration info for logical URL.
Returns | Deferred of Registration object or failure of LookupError. |
Register the physical address of a logical URL.
Returns | Deferred of Registration or failure with RegistrationError. |