1Net::BGP::Transport(3)User Contributed Perl DocumentationNet::BGP::Transport(3)
2
3
4

NAME

6       "Net::BGP::Transport" - Class encapsulating BGP-4 transport session
7       state and functionality
8

SYNOPSIS

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

DESCRIPTION

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

CONSTRUCTOR

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

ACCESSOR METHODS

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

SEE ALSO

68       Net::BGP::Peer, Net::BGP, Net::BGP::Update, Net::BGP::Refresh
69

AUTHOR

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.36.0                      2023-01-20            Net::BGP::Transport(3)
Impressum