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 state
7       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 object
31       corresponds to a TCP session with a distinct peer. It should not be
32       used by it self, 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 returns
37           a reference to the newly created object. The following named
38           parameters may be passed to the constructor. Once the object is
39           created, the information can not be changed.
40
41           Start
42           ConnectRetryTime
43           HoldTime
44           KeepAliveTime
45               Has the same meaning as their equivalente 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 previeus constructed object from the
54           perl genereted string-context scalar of the object, eg.
55           Net::BGP::Peer=HASH(0x820952c).
56

ACCESSOR METHODS

58       version()
59       start()
60       stop()
61       update()
62       refresh()
63       is_established()
64           This methods does the actuall 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.30.0                      2019-08-06            Net::BGP::Transport(3)
Impressum