53 |
my $wVecRef=shift; |
my $wVecRef=shift; |
54 |
my $eVecRef=shift; |
my $eVecRef=shift; |
55 |
|
|
56 |
map {$_->addHandleBits($rVecRef,$wVecRef,$eVecRef)} @Connections; |
my @cons=@Connections; |
57 |
|
map {$_->addHandleBits($rVecRef,$wVecRef,$eVecRef) if(defined($_)) } @cons; |
58 |
} |
} |
59 |
|
|
60 |
sub checkAllHandleBits { |
sub checkAllHandleBits { |
64 |
my $wVec=shift; |
my $wVec=shift; |
65 |
my $eVec=shift; |
my $eVec=shift; |
66 |
|
|
67 |
map {$_->checkHandleBits($rVec,$wVec,$eVec)} @Connections; |
my @cons=@Connections; |
68 |
|
map {$_->checkHandleBits($rVec,$wVec,$eVec) if(defined($_)) } @cons; |
69 |
} |
} |
70 |
|
|
71 |
sub connectionCount { |
sub connectionCount { |
297 |
} |
} |
298 |
|
|
299 |
&::syslog('debug',"Closed %s for %s",ref($self),$self->{'socket'}->{'connection'}->{'remoteIP'}); |
&::syslog('debug',"Closed %s for %s",ref($self),$self->{'socket'}->{'connection'}->{'remoteIP'}); |
300 |
|
|
301 |
|
$self->didClose(); |
302 |
|
} |
303 |
|
|
304 |
|
sub didClose { |
305 |
} |
} |
306 |
|
|
307 |
1; |
1; |