class virtual processor_base :Netplex_types.processor_hooks ->
v_processor
class my_processor hooks =
object(self)
inherit Netplex_kit.processor_base hooks
method process ~when_done container fd proto_name = ...
method supported_ptypes = ...
end
In order to run actions from hooks, redefine the hook methods as in:
class my_processor hooks =
object(self)
inherit Netplex_kit.processor_base hooks as super
method process ~when_done container fd proto_name = ...
method supported_ptypes = ...
method post_start_hook container =
... (* my action *);
super # post_start_hook container
end