Comparison

net/server_event.lua @ 2235:91b9587a0210

net.server_handler: Add stub handlers as fallbacks for those listeners don't implement
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Nov 2009 22:18:44 +0000
parent 2234:065faeb590b9
child 2236:cf7192f48c56
comparison
equal deleted inserted replaced
2234:065faeb590b9 2235:91b9587a0210
403 debug "ssl session delayed until writebuffer is empty..." 403 debug "ssl session delayed until writebuffer is empty..."
404 end 404 end
405 return true 405 return true
406 end 406 end
407 407
408 function interface_mt.onconnect() 408 -- Stub handlers
409 function interface_mt:onconnect()
410 end
411 function interface_mt:onincoming()
412 end
413 function interface_mt:ondisconnect()
414 end
415 function interface_mt:ontimeout()
409 end 416 end
410 end 417 end
411 418
412 -- End of client interface methods 419 -- End of client interface methods
413 420