Software /
code /
prosody
Comparison
net/server_event.lua @ 5756:61521ce49aae
Merge 0.9->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 22 Jul 2013 20:29:41 +0200 |
parent | 5625:e67891ad18d6 |
parent | 5755:9a9c2c254412 |
child | 5776:bd0ff8ae98a8 |
comparison
equal
deleted
inserted
replaced
5753:11cb5f64d029 | 5756:61521ce49aae |
---|---|
483 onconnect = listener.onconnect; -- will be called when client disconnects | 483 onconnect = listener.onconnect; -- will be called when client disconnects |
484 ondisconnect = listener.ondisconnect; -- will be called when client disconnects | 484 ondisconnect = listener.ondisconnect; -- will be called when client disconnects |
485 onincoming = listener.onincoming; -- will be called when client sends data | 485 onincoming = listener.onincoming; -- will be called when client sends data |
486 ontimeout = listener.ontimeout; -- called when fatal socket timeout occurs | 486 ontimeout = listener.ontimeout; -- called when fatal socket timeout occurs |
487 onreadtimeout = listener.onreadtimeout; -- called when socket inactivity timeout occurs | 487 onreadtimeout = listener.onreadtimeout; -- called when socket inactivity timeout occurs |
488 ondrain = listener.ondrain; -- called when writebuffer is empty | |
488 onstatus = listener.onstatus; -- called for status changes (e.g. of SSL/TLS) | 489 onstatus = listener.onstatus; -- called for status changes (e.g. of SSL/TLS) |
489 eventread = false, eventwrite = false, eventclose = false, | 490 eventread = false, eventwrite = false, eventclose = false, |
490 eventhandshake = false, eventstarthandshake = false; -- event handler | 491 eventhandshake = false, eventstarthandshake = false; -- event handler |
491 eventconnect = false, eventsession = false; -- more event handler... | 492 eventconnect = false, eventsession = false; -- more event handler... |
492 eventwritetimeout = false; -- even more event handler... | 493 eventwritetimeout = false; -- even more event handler... |