![]() |
![]()
| ![]() |
![]()
NAMEStopped — a tool has terminated SYNOPSISStopped(in string vendor, DESCRIPTIONThe Stopped notice announces that a tool has exited. The vendor argument is the vendor of the terminated tool. The toolName argument is the name of the terminated tool. The toolVersion argument is the version of the terminated tool. EXAMPLESA pattern observing the Stopped request can be registered as in the following example: Tt_pattern pat = tt_pattern_create(); tt_pattern_category_set(pat, TT_OBSERVE); tt_pattern_scope_add(pat, TT_SESSION); char *ses = tt_default_session(); tt_pattern_session_add(pat, ses); tt_free(ses); tt_pattern_op_add(pat, Tttk_Started); tt_pattern_op_add(pat, Tttk_Stopped); tt_pattern_callback_add(pat, my_callback); tt_pattern_register(pat); The Stopped request can be sent with ttdt_close(3). SEE ALSOtt_free(3), tt_pattern_callback_add(3), tt_pattern_category_set(3), tt_pattern_op_add(3), tt_pattern_register(3), tt_pattern_scope_add(3), tt_pattern_session_add(3), ttdt_close(3); Started notice.
|