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
|
|