Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module sip :: Class RegisterProxy |
|
AbstractDatagramProtocol
--+ |DatagramProtocol
--+ |Base
--+ |Proxy
--+ | RegisterProxy
A proxy that allows registration for a specific domain.
Unregistered users won't be handled.Method Summary | |
---|---|
__init__(self,
*args,
**kw)
| |
_cbLogin(self,
(i,
a,
l),
message,
host,
port)
| |
_cbRegister(self,
registration,
message)
| |
_cbUnregister(self,
registration,
message)
| |
_ebLogin(self,
failure,
message,
host,
port)
| |
_ebRegister(self,
error,
message)
| |
_ebUnregister(self,
registration,
message)
| |
handle_ACK_request(self,
message,
(host,
port))
| |
Handle a registration request. | |
login(self,
message,
host,
port)
| |
Allow all users to register | |
unauthorized(self,
message,
host,
port)
| |
unregister(self,
message,
toURL,
contact)
| |
Inherited from Proxy | |
| |
Deliver response. | |
Return value of Via header for this proxy. | |
Called with responses that are addressed at this server. | |
Override to define behavior for requests received | |
Default request handler. | |
Default response handler. | |
Create a response to a request message. | |
Inherited from Base | |
| |
| |
| |
Send a message. | |
Inherited from DatagramProtocol | |
Called due to error from write in connected mode. | |
Inherited from AbstractDatagramProtocol | |
| |
Make sure startProtocol is called. | |
Make sure stopProtocol is called. | |
Make a connection to a transport and a server. | |
Called when a transport is connected to this protocol. | |
Called when the transport is disconnected. |
Class Variable Summary | |
---|---|
dict |
authorizers = {'digest': <twisted.protocols.sip.DigestAu...
|
NoneType |
portal = None |
NoneType |
registry = None |
Inherited from Proxy | |
NoneType |
locator = None |
int |
PORT = 5060 |
Inherited from Base | |
int |
debug = 0 |
Inherited from AbstractDatagramProtocol | |
int |
noisy = 1 |
int |
numPorts = 0 |
NoneType |
transport = None |
Method Details |
---|
handle_REGISTER_request(self, message, (host, port))Handle a registration request. Currently registration is not proxied. |
register(self, message, host, port)Allow all users to register |
Class Variable Details |
---|
authorizers
|
portal
|
registry
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:00 2004 | http://epydoc.sf.net |