Package twisted :: Package protocols :: Module sip :: Class RegisterProxy
[frames | no frames]

Class RegisterProxy

AbstractDatagramProtocol --+            
                           |            
            DatagramProtocol --+        
                               |        
                            Base --+    
                                   |    
                               Proxy --+
                                       |
                                      RegisterProxy


A proxy that allows registration for a specific domain.

Unregistered users won't be handled.
Method Summary
  _registeredResult(self, (expirySeconds, contactURL), message)
  _registerError(self, error)
  handle_REGISTER_request(self, message, (host, port))
Handle a registration request.
    Inherited from Proxy
  __init__(self, host, port)
Create new instance.
  _cantForwardRequest(self, error, message)
  deliverResponse(self, responseMessage)
Deliver response.
  getVia(self)
Return value of Via header for this proxy.
  gotResponse(self, message, addr)
Called with responses that are addressed at this server.
  handle_request_default(self, message, (srcHost, srcPort))
Default request handler.
  handle_response(self, message, addr)
Default response handler.
  responseFromRequest(self, code, request)
Create a response to a request message.
    Inherited from Base
  datagramReceived(self, data, addr)
  sendMessage(self, destURL, message)
Send a message.
    Inherited from AbstractDatagramProtocol
  __getstate__(self)
  doStart(self)
Make sure startProtocol is called.
  doStop(self)
Make sure stopProtocol is called.
  makeConnection(self, transport)
Make a connection to a transport and a server.
  startProtocol(self)
Called when a transport is connected to this protocol.
  stopProtocol(self)
Called when the transport is disconnected.

Class Variable Summary
NoneType registry = None                                                                  
    Inherited from Proxy
NoneType locator = None                                                                  
    Inherited from AbstractDatagramProtocol
str noisy = 'sure, why not'
int numPorts = 0                                                                     
NoneType transport = None                                                                  

Method Details

handle_REGISTER_request(self, message, (host, port))

Handle a registration request.

Currently registration is not proxied.

Class Variable Details

registry

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Sat Sep 13 04:20:53 2003 http://epydoc.sf.net