POEST::Server

POEST::Server - The Poest Master General.
Download

POEST::Server Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Casey West
  • Publisher web site:
  • http://search.cpan.org/~cwest/

POEST::Server Tags


POEST::Server Description

POEST::Server - The Poest Master General. POEST::Server - The Poest Master General.SYNOPSIS my $server = POEST::Server->new( Config => 'POEST::Config::Genearl', ConfigFile => '/etc/poest.conf', ); $server->start;ABSTRACTThis module controls the server itself.All high-level server interaction happens here.new()Create a new server instance. This will not make the server run, but it will configure it, load the modules and configure them, and spawn the proper POE sessions. All the parameters passed to new will be passed directly to the configurator of your choice, as defined by the Config parameter (POEST::Config by default).run()Make the server run. This will block execution when called directly.start()Fork and start the server. This method will return the pid of the server. If the pidfile configuration parameter is found in the configuration class, an attempt is made to write that pid file. If that attempt fails, or if the pid file already exists, and exception is thrown and the attempt to start the server is stalled.stop()Stop the server. If a pidfile was specified, the pid will be read from it. Otherwise, an attempt to find a process name with the value of $0 is tried, by default that is set to 'poest'.NOTE: As of right this minute, the process table magic isn't written as Proc::ProcessTable isn't ported to Darwin.ConfigurationThses are the configuration parameters that the server itself needs from the configuration mechanism.hostnameThe main host that this smtp server runs for.portThe port this server will run on.pluginThis is a multi-value parameter. Each value is the full name of the module that contains the plugin class. Requirements: · Perl


POEST::Server Related Software