Parent Directory | Revision Log | Patch
revision 29 by dpavlin, Thu Jan 5 15:30:35 2006 UTC | revision 30 by dpavlin, Thu Jan 5 15:33:48 2006 UTC | |
---|---|---|
# | Line 718 sub set_proxy { | Line 718 sub set_proxy { |
718 | $self->{pxport} = $port; | $self->{pxport} = $port; |
719 | } | } |
720 | ||
721 | =head2 set_timeout | |
722 | ||
723 | Specify timeout of connection in seconds | |
724 | ||
725 | $node->set_timeout( 15 ); | |
726 | ||
727 | =cut | |
728 | ||
729 | sub set_timeout { | |
730 | my $self = shift; | |
731 | my $sec = shift; | |
732 | croak "timeout must be number" unless ($sec =~ m/^\d+$/); | |
733 | $self->{timeout} = $sec; | |
734 | } | |
735 | ||
736 | package Search::Estraier::Master; | package Search::Estraier::Master; |
737 | ||
738 | use Carp; | use Carp; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |