20000511:
Please note that this event-trace, at the current state of the project,
is now outdated. Several calls have been modified or added. However,
this document is still published in the release
because the idea of the query event is still similar to this one.
+--------+ +------+ +------+ +------+ +------+ +------+ +------+ +------+ +------+ | client | tcp | sk | | th | | pw | | qc | | wk | | qi | | sq | | rx | +---+----+ : +---+--+ +---+--+ +---+--+ +---+--+ +---+--+ +---+--+ +---+--+ +---+--+ 1. | connect : | | | | | | | | 2. $-------------------:-------}| | PW_interact() | | | | | | $ : | $--------------}| | | | | | $ : | | $ | | | | | 3. $ : | | SK_gets() $ | | | | | $ : |{------------------------------$ | | | | | $ : $ | | | | | | | / : / | | | | | | | $ : $ | | | | | | | 4. $ whois query : $ | | | | | | | $---------------------------}$ | | | | | | | 5. | : | | SK_puts() $ | | | | | 6. | whois banner : |{------------------------------$ | | | | | |{---------------------------$ : | | | | | | 7. | : | | $ QC_new() | | | | | 8. | : | : $--------------}| WK_new() | | | | | : | | | $--------------}| | | | | : | | | | $ | | | 9. | : | | $ QI_new() | | | | | | : | | $----------------------------------------------}| | | | : | | | | | $ | | 10. | : | | $ QI_execute() | | | | | | : | | $----------------------------------------------}| | | 11. | : | | | | | $ SQ_get_connection() | | : | | | | | $--------------}| | | : | | | | | | $ | 12. | : | | | | | $ RX_asc_search() | | : | | | | | $------------------------------}| | : | | | | | | | $ 13. | : | | | | | $ SQ_execute_query() | | : | | | | | $--------------}| | | : | | | | | | $ | 14. | : | | | | | $ SQ_row_next() | | | : | | | | | $--------------}| | | : | | | | | | $ | 15. | : | | | | | $ SQ_get_column_string() | | : | | | | | $--------------}| | | : | | | | | | $ | 16. | : | | | | | SK_puts() $ | | 17. | whois objects : |{------------------------------------------------------------------------------$ | | |{---------------------------$ | | | | | | | 18. | : | | | | | $ SQ_free_result() | | : | | | | | $--------------}| | | : | | | | | | $ | 19. | : | | | | | $ SQ_close_connection() | | : | | | | | $--------------}| | | : | | | | | | $ | | : | | | | | $ | | 20. | : | | SK_close() $ | | | | | 21. | disconnect : |{------------------------------$ | | | | | |{---------------------------$ | | | | | | | | : | | | | | | | |