Connection-List
NAME
Net::BGP::Connection-List - BGP Connection List Object
SYNOPSIS
use Net::BGP::Connection-List;
my $list = Net::BGP::Connection-List.new;
$list.add($connection);
$list.remove($connection.id) if $list.exists($connection.id);
METHODS
exists(Int:D $id)
if $list->exists(1) { ā¦ }
Returns True
if the connection identified with the ID value passed exists.
get(Int:D $id)
$list->get(1);
Returns the Connection object associated with the ID (or an undefined value if none exists).
add(Net::BGP::Connection:D $connection)
$list->add($connection);
Adds a new connection to the connection list.
remove(Int:D $id)
$list->remove(1);
Removes a connection from the connection list
AUTHOR
Joelle Maslak <[email protected]>
COPYRIGHT AND LICENSE
Copyright Ā© 2018-2019 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.