Table of Contents

Class: handlerClass swocket/handler/echo.py

minimal echo handler

Methods   
__init__
error
log
logdebug
logerror
onClose
onConnect
onXML
push
  __init__ 
__init__ ( self,  passInfo )

  error 
error ( self,  error="error" )

handle errors gracefully, not that we get any..

  log 
log ( self,  text )

  logdebug 
logdebug ( self,  text )

  logerror 
logerror ( self,  text )

  onClose 
onClose ( self )

do nothing on close

  onConnect 
onConnect ( self )

do nothing on connect

  onXML 
onXML ( self,  doc )

return the same stuff we received

  push 
push ( self,  data )

send a doc to the client


Table of Contents

This document was automatically generated on Wed Jul 11 15:14:01 2001 by HappyDoc version r1_5