Parameter
NAME
Net::BGP::Parameter - BGP Parameter Parent Class
SYNOPSIS
use Net::BGP::Parameter;
my $msg = Net::BGP::Parameter.from-raw( $raw );
DESCRIPTION
Parent class for parameters.
Constructors
from-raw
Constructs a new object (likely in a subclass) for a given raw buffer.
from-hash
Constructs a new object (likely in a subclass) for a given hash buffer. This
module uses the parameter-code
or parameter-name
key of the hash to determine
which type of parameter should be returned.
Methods
parameter-code
Contains an integer that corresponds to the parameter-name.
parameter-name
Returns a string that describes what parameter type the command represents.
Returns no codes are understood.
parameter-length
Returns an integer that corresponds to the parameter value's length.
parameter-value
Returns an integer that corresponds to the parameter value.
raw
Contains the raw parameter (not including the BGP header).
AUTHOR
Joelle Maslak <[email protected]>
COPYRIGHT AND LICENSE
Copyright (C) 2018-2019 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.