Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::BGP::Transport(3)User Contributed Perl DocumentatioNet::BGP::Transport(3)

NAME
       Net::BGP::Transport - 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	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 it self,	but encapsulated in a Net::BGP::Peer object.

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.	Once the object	is
	   created, the	information can	not be changed.

	   Start
	   ConnectRetryTime
	   HoldTime
	   KeepAliveTime
	       Has the same meaning as their equivalente 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 previeus constructed object from the
	   perl	genereted string-context scalar	of the object, eg.
	   Net::BGP::Peer=HASH(0x820952c).

ACCESSOR METHODS
       version()
       start()
       stop()
       update()
       refresh()
       is_established()
	   This	methods	does the actuall work for the methods of the same name
	   in Net::BGP::Peer.

SEE ALSO
       Net::BGP::Peer, Net::BGP, Net::BGP::Update, Net::BGP::Refresh

AUTHOR
       Stephen J. Scheck <sscheck@cpan.org> in original	Peer.pm	form Martin
       Lorensen	<lorensen@cpan.org> separated into Transport.pm

perl v5.32.1			  2019-08-03		Net::BGP::Transport(3)

NAME | SYNOPSIS | DESCRIPTION | CONSTRUCTOR | ACCESSOR METHODS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::BGP::Transport&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help