class documentation
class InMemoryRegistry: (source)
Constructor: InMemoryRegistry(domain)
Implements interfaces: twisted.protocols.sip.ILocator, twisted.protocols.sip.IRegistry
A simplistic registry for a specific domain.
| Method | __init__ |
Undocumented |
| Method | get |
Return physical URL of server for logical URL of user. |
| Method | get |
Get registration info for logical URL. |
| Method | register |
Register the physical address of a logical URL. |
| Method | unregister |
Unregister the physical address of a logical URL. |
| Instance Variable | domain |
Undocumented |
| Instance Variable | users |
Undocumented |
| Method | _expire |
Undocumented |
Return physical URL of server for logical URL of user.
| Parameters | |
| user | Undocumented |
| logical | 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. |