1Net::BGP::Transport(3)User Contributed Perl DocumentationNet::BGP::Transport(3)
2
3
4
6 "Net::BGP::Transport" - Class encapsulating BGP-4 transport session
7 state and functionality
8
10 use Net::BGP::Transport;
11
12 $trans = Net::BGP::Transport->new(
13 Start => 1,
14 Parent => Net::BGP::Peer->new(),
15 ConnectRetryTime => 300,
16 HoldTime => 60,
17 KeepAliveTime => 20
18 );
19
20 $version = $trans->version();
21
22 $trans->start();
23 $trans->stop();
24
25 $trans->update($update);
26 $trans->refresh($refresh);
27
29 This module encapsulates the state and functionality associated with a
30 BGP transport connection. Each instance of a "Net::BGP::Transport"
31 object corresponds to a TCP session with a distinct peer. It should not
32 be used by itself, but encapsulated in a Net::BGP::Peer object.
33
35 new() - create a new "Net::BGP::Transport" object
36 This is the constructor for "Net::BGP::Transport" objects. It
37 returns a reference to the newly created object. The following
38 named parameters may be passed to the constructor. Once the object
39 is created, the information can not be changed.
40
41 Start
42 ConnectRetryTime
43 HoldTime
44 KeepAliveTime
45 Has the same meaning as the equivalent named argument for
46 Net::BGP::Peer.
47
48 Parent
49 The parent Net::BGP::Peer object.
50
51 renew() - fetch the existing Net::BGP::Peer object from the "object
52 string".
53 This "reconstructor" returns a previously constructed object from
54 the perl generated string-context scalar of the object, e.g.
55 Net::BGP::Transport=HASH(0x820952c).
56
58 version()
59 start()
60 stop()
61 update()
62 refresh()
63 is_established()
64 These methods do the actual work for the methods of the same name
65 in Net::BGP::Peer.
66
68 Net::BGP::Peer, Net::BGP, Net::BGP::Update, Net::BGP::Refresh
69
71 Stephen J. Scheck <sscheck@cpan.org> in original Peer.pm form Martin
72 Lorensen <lorensen@cpan.org> separated into Transport.pm
73
74
75
76perl v5.34.0 2022-01-21 Net::BGP::Transport(3)