Net::BG...ransport(3)
β¨ NAME β¨
okay so bestie, this is Net::BGP::Transport β the class encapsulating BGP-4 transport session state and functionality. π
πΈ SYNOPSIS πΈ
use Net::BGP::Transport;
$trans = Net::BGP::Transport->new(
Start => 1,
Parent => Net::BGP::Peer->new(),
ConnectRetryTime => 300,
HoldTime => 60,
KeepAliveTime => 20
);
$version = $trans->version();
$trans->start();
$trans->stop();
$trans->update($update);
$trans->refresh($refresh);
π¦ DESCRIPTION π¦
This module encapsulates all the state and functionality associated with a BGP transport connection. Each instance of a Net::BGP::Transport object corresponds to one TCP session with a distinct peer. π«Ά
bestie, it should not be used by itself β it's meant to be encapsulated in a Net::BGP::Peer object. no cap.
π§ CONSTRUCTOR π§
π οΈ new() β create a new Net::BGP::Transport object
This is the constructor for Net::BGP::Transport objects. It returns a reference to the newly created object. β¨ The following named parameters may be passed to the constructor β and once the object is created, the information can not be changed. periodt.
Startβ has the same meaning as the equivalent named argument forNet::BGP::Peer.ConnectRetryTimeβ has the same meaning as the equivalent named argument forNet::BGP::Peer.HoldTimeβ has the same meaning as the equivalent named argument forNet::BGP::Peer.KeepAliveTimeβ has the same meaning as the equivalent named argument forNet::BGP::Peer.Parentβ the parentNet::BGP::Peerobject.
π§΅ renew() β fetch the existing Net::BGP::Peer object from the "object string".
This "reconstructor" returns a previously constructed object from the perl generated string-context scalar of the object, e.g. Net::BGP::Transport=HASH(0x820952c). πͺ
π ACCESSOR METHODS π
version()start()stop()update()refresh()is_established()
These methods do the actual work for the methods of the same name in Net::BGP::Peer. πͺ
π₯ SEE ALSO π₯
Net::BGP::PeerNet::BGPNet::BGP::UpdateNet::BGP::Refresh
π AUTHOR π
- Stephen J. Scheck
<sscheck@cpan.org>in originalPeer.pmform - Martin Lorensen
<lorensen@cpan.org>separated intoTransport.pm
π cute sign-off: this page is from the User Contributed Perl Documentation, version perl v5.32.1, dated 2021-12-02, and the manual is Net::BG...ransport(3). mwah π
π¦ where this page comes from
- epel 9: perl-Net-BGP 0.18-1.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms