Generic
NAME
Net::BGP::Message::Generic - BGP Generic Message
SYNOPSIS
# We create generic messages using the parent class.
use Net::BGP::Message;
my $msg = Net::BGP::Message.from-raw( $raw ); # Might return a child crash
DESCRIPTION
Generic (undefined) BGP message type
Constructors
from-raw
Constructs a new object for a given raw binary buffer.
from-hash
This simply throws an exception, since the hash format of a generic message is not designed.
Methods
message-name
Returns a string that describes what message type the command represents.
For generic parameters, this is always a string representation of the
value of message-code()
.
message-code
Contains an integer that corresponds to the message-code.
raw
Returns the raw (wire format) data for this message.
AUTHOR
Joelle Maslak <[email protected]>
COPYRIGHT AND LICENSE
Copyright Ā© 2018-2019 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.