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

Class Base

AbstractDatagramProtocol --+    
                           |    
            DatagramProtocol --+
                               |
                              Base

Known Subclasses:
Proxy

Base class for SIP clients and servers.
Method Summary
  __init__(self)
  datagramReceived(self, data, addr)
  handle_request_default(self, message, addr)
  handle_response(self, message, 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
    Inherited from AbstractDatagramProtocol
str noisy = 'sure, why not'
int numPorts = 0                                                                     
NoneType transport = None                                                                  

Method Details

sendMessage(self, destURL, message)

Send a message.
Parameters:
message - The message to send.

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