Implements interfaces: twisted.protocols.sip.ILocator, twisted.protocols.sip.IRegistry

A simplistic registry for a specific domain.

Method __init__ 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
def __init__(self, domain):
Undocumented
def getAddress(self, userURI):

Return physical URL of server for logical URL of user.

ParameterslogicalURLa logical URL.
ReturnsDeferred which becomes URL or fails with LookupError.
def getRegistrationInfo(self, userURI):

Get registration info for logical URL.

ReturnsDeferred of Registration object or failure of LookupError.
def _expireRegistration(self, username):
Undocumented
def registerAddress(self, domainURL, logicalURL, physicalURL):

Register the physical address of a logical URL.

ReturnsDeferred of Registration or failure with RegistrationError.
def unregisterAddress(self, domainURL, logicalURL, physicalURL):

Unregister the physical address of a logical URL.

ReturnsDeferred of Registration or failure with RegistrationError.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.