Daemon::Generic::Event man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Daemon::Generic::EventUser Contributed Perl DocumentaDaemon::Generic::Event(3)

NAME
	Daemon::Generic::Event - Generic daemon framework with Event.pm

SYNOPSIS
	use Daemon::Generic::Event;

	@ISA = qw(Daemon::Generic::Event);

	sub gd_preconfig {
	       # stuff
	}

DESCRIPTION
       Daemon::Generic::Event is a subclass of Daemon::Generic that predefines
       some methods:

       gd_run()	      Setup a periodic callback to "gd_run_body()" if there is
		      a "gd_run_body()".  Call "Event::loop()".

       gd_setup_signals()
		      Bind SIGHUP to call "gd_reconfig_event()".  Bind SIGINT
		      to call "gd_quit_event()".

       To use Daemon::Generic::Event, you have to provide a "gd_preconfig()"
       method.	 It can be empty if you have a "gd_run_body()".

       Set up your own events in "gd_preconfig()" and "gd_postconfig()".

       If you have a "gd_run_body()" method, it will be called once per second
       or every "gd_interval()" seconds if you have a "gd_interval()" method.
       Unlike in Daemon::Generic::While1, "gd_run_body()" should not include a
       call to "sleep()".

THANK THE AUTHOR
       If you need high-speed internet services (T1, T3, OC3 etc), please send
       me your request-for-quote.  I have access to very good pricing: you'll
       save money and get a great service.

LICENSE
       Copyright(C) 2006 David Muir Sharnoff <muir@idiom.com>.	This module
       may be used and distributed on the same terms as Perl itself.

perl v5.14.1			  2011-05-20	     Daemon::Generic::Event(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net