interface documentation

class IRegistry(Interface): (source)

Known implementations: twisted.protocols.sip.InMemoryRegistry

View In Hierarchy

Allows registration of logical->physical URL mapping.
Method get​Registration​Info Get registration info for logical URL.
Method register​Address Register the physical address of a logical URL.
Method unregister​Address Unregister the physical address of a logical URL.
def getRegistrationInfo(logicalURL): (source)
Get registration info for logical URL.
Returns
Deferred of Registration object or failure of LookupError.
def registerAddress(domainURL, logicalURL, physicalURL): (source)
Register the physical address of a logical URL.
Returns
Deferred of Registration or failure with RegistrationError.
def unregisterAddress(domainURL, logicalURL, physicalURL): (source)
Unregister the physical address of a logical URL.
Returns
Deferred of Registration or failure with RegistrationError.