GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::BGP::Transport(3) User Contributed Perl Documentation Net::BGP::Transport(3)

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

    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);

This module encapsulates the state and functionality associated with a BGP transport connection. Each instance of a "Net::BGP::Transport" object corresponds to a TCP session with a distinct peer. It should not be used by itself, but encapsulated in a Net::BGP::Peer object.

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. Once the object is created, the information can not be changed.
Start
ConnectRetryTime
HoldTime
KeepAliveTime
Has the same meaning as the equivalent named argument for Net::BGP::Peer.
Parent
The parent Net::BGP::Peer object.
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).

version()
start()
stop()
update()
refresh()
is_established()
These methods do the actual work for the methods of the same name in Net::BGP::Peer.

Net::BGP::Peer, Net::BGP, Net::BGP::Update, Net::BGP::Refresh

Stephen J. Scheck <sscheck@cpan.org> in original Peer.pm form Martin Lorensen <lorensen@cpan.org> separated into Transport.pm
2021-12-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.