@ISA = qw(Route);
%valid = (
- parent => '0,Parent Calls,parray',
+ dxchan => '0,Dxchan Calls,parray',
);
$filterdef = $Route::filterdef;
confess "already have $call in $pkg" if $list{$call};
my $self = $pkg->SUPER::new($call);
- $self->{parent} = [ $ncall ];
+ $self->{nodes} = [ $ncall ];
$self->{flags} = $flags;
$list{$call} = $self;
{
my $self = shift;
my $pref = shift;
- $self->delparent($pref);
- unless (@{$self->{parent}}) {
+ $self->deldxchan($pref);
+ unless (@{$self->{dxchan}}) {
delete $list{$self->{call}};
return $self;
}
return $ref;
}
-sub addparent
-{
- my $self = shift;
- return $self->_addlist('parent', @_);
-}
-
-sub delparent
-{
- my $self = shift;
- return $self->_dellist('parent', @_);
-}
-
#
# generic AUTOLOAD for accessors
#