ARCv2
view release on metacpan or search on metacpan
lib/Arc/Server.pm view on Meta::CPAN
{
my $this = shift;
my $ct = $this->{connection_type};
$this->{__arc} = new $ct (
%{$this->{connection_vars}},
);
}
# deleting STDIN and STDOUT kills ARCv2, don't know if Net::Server does
# is right
sub post_accept
{
my $this = shift;
my $prop = $this->{server};
### keep track of the requests
$prop->{requests} ++;
}
1;
lib/Arc/Server.pod view on Meta::CPAN
=back
=head1 Class METHODS
=head3 PUBLIC METHODS
=over 2
=item child_init_hook ( )
=item post_accept ( )
=item process_request ( )
=item Start ( )
B<Description>: start the server
This function is used by the user to start the server and enter the main accept-loop.
Only by calling the C<Interrupt> function this call can be aborted.
lib/arcxd.pod view on Meta::CPAN
=head1 CONFIGURATION FILE
=head2 Example:
[main]
service = arc
timeout = 30
[arcd]
host = 0
post = 4242
max_requests = 1000
min_servers = 5
max_servers = 50
max_spare_servers = 10
min_spare_servers = 2
pid_file = /var/run/arcxd.pid
sasl_mechanisms = <<EOM
( run in 1.563 second using v1.01-cache-2.11-cpan-5a3173703d6 )