benjamin-bader / amanuensis

ah - MAN - you - EN - sis: Web Traffic Inspector
GNU General Public License v3.0
2 stars 0 forks source link

Add Connection-lifecycle listener #4

Closed benjamin-bader closed 7 years ago

benjamin-bader commented 7 years ago

Something like this will be needed to drive the UI.

Think: ConnectionManagerListener:

  1. Connection established (and here it is)
  2. Connection closed

ConnectionListener:

  1. Client request understood/incomprehensible (but pass it through regardless)
  2. DNS resolution begun
  3. Resolution succeeds/fails
  4. Remote connection attempt begun
  5. Succeeds/fails
  6. Client request relayed
  7. Server response understood/incomprehensible (but pass it through regardless)
  8. fin
benjamin-bader commented 7 years ago

Done, to a first approximation.