class documentation

class twisted.protocols.sip.InMemoryRegistry: (source)

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

View In Hierarchy

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
def __init__(self, domain): (source)

Undocumented

domain = (source)

Undocumented

users = (source)

Undocumented

(type: dict)
def getAddress(self, userURI): (source)

Return physical URL of server for logical URL of user.

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

Get registration info for logical URL.

ReturnsDeferred of Registration object or failure of LookupError.
def _expireRegistration(self, username): (source)

Undocumented

def registerAddress(self, domainURL, logicalURL, physicalURL): (source)

Register the physical address of a logical URL.

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

Unregister the physical address of a logical URL.

ReturnsDeferred of Registration or failure with RegistrationError.
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.