Did I find the right examples for you? yes no

All Samples(9)  |  Call(4)  |  Derive(0)  |  Import(5)

src/s/f/sftf-HEAD/XMLEventHandler.py   sftf(Download)
from EventHandler import EventHandler
import Log, Config
import SCException
 
class XMLEventHandler (EventHandler):
				self.openFile(mode="w")
			else:
				raise SCException("XMLEventHandler", "writeEvent", "missing filename")
		elif self.fileobj.mode != "w":
			self.openFile(mode="w")
	def readEvent(self):
		raise SCException("XMLEventHandler", "readEvent", "reading from XML not implemented yet")
 

src/s/f/sftf-HEAD/FileEventHandler.py   sftf(Download)
from EventHandler import EventHandler
import Log, Config
import SCException
import SipEvent as SE
 
				self.openFile("r")
			else:
				raise SCException("FileEventHandler", "readEvent", "missing filename")
		event = SE.SipEvent()
		event.srcAddress = ("file", self.fileobj.name, '')
				self.openFile("w")
			else:
				raise SCException("FileEventHandler", "writeEvent", "missing filename")
		elif self.fileobj.mode != "w":
			self.openFile("w")

src/s/f/sftf-HEAD/RtpStream.py   sftf(Download)
#
 
import SCException
import Log
import RtpEvent

src/s/f/sftf-HEAD/RtpEvent.py   sftf(Download)
#
 
import SCException
import Log
import re

src/s/f/sftf-HEAD/HttpServer.py   sftf(Download)
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
import SCException
import Log
from TestCase import TestCase