QTjolie: Allow to easily detect client or server disconnection

Review Request #114186 - Created Nov. 28, 2013 and submitted

Information
Matthieu Gallien
qtjolie
Reviewers
qtjolie
ervin
When the server thread detects a disconnection, signal it by calling an abstract methond in the registered Adaptor objects.
When the client thread detects a disconnection, finishes cleanly the pending requests by closing the pending calls. Provides the appropriate error to code using the library.
I have been using this patch for quite some time and it works and allows to detect the disconnections in code using QtJolie.
The existing tests still work as expected.

Issues

  • 8
  • 0
  • 0
  • 8
Description From Last Updated
onDisconnected? onReaderDisconnected? Probably should be a private slot too? Kevin Ottens Kevin Ottens
Spurious spaces Kevin Ottens Kevin Ottens
Spurious space Kevin Ottens Kevin Ottens
Spurious space. Kevin Ottens Kevin Ottens
Return by value here Kevin Ottens Kevin Ottens
Spurious space. Kevin Ottens Kevin Ottens
Return by value here Kevin Ottens Kevin Ottens
Spurious space. Kevin Ottens Kevin Ottens
Kevin Ottens
Matthieu Gallien
Kevin Ottens
Commit Hook
Matthieu Gallien
Review request changed

Status: Closed (submitted)

Loading...