search for: on_stop

Displaying 3 results from an estimated 3 matches for "on_stop".

Did you mean: pfn_stop
2004 Feb 02
4
Hooks for win32-service
Just trying to come up with hooks for win32-service. It looks like Perl''s Win32::Daemon defines these: start....................The service is starting. pause....................The service is entering a paused state. continue.................The service is resuming from a paused state. stop.....................The service is stopping running..................The service is running
2004 Feb 05
1
Service event hooks question
In order to be able to call event hooks as I mentioned previously it looks like I''ll have to do something like this in Service_Ctrl(): // For example if(dwCtrlCode == SERVICE_CONTROL_STOP){ rb_funcall(self,rb_intern("send"),rb_intern("on_stop")); } There are a few problems. First, I''m not sure I''m calling that properly. Second, I don''t know how to get "self" into the method - I making cDaemon global and passing that but it didn''t seem to work. Third, this syntax doesn''t caus...
2004 Feb 06
0
Daemon method name changes
All, At the risk of annoying you all to death with seemingly trivial things, I was thinking that we should change a couple method names. I know that I myself had suggested "on_stop", "on_pause", etc, for the event hooks in the Daemon class. However, I think I will change those to "service_stop", "service_pause", etc. This isn''t a major issue, since we haven''t released the code for that yet. Along those lines, however, I...