NAME
Farly::ASA::ICMPFormatter - Associates ICMP type ID's and ICMP type integers
DESCRIPTION
Farly::ASA::ICMPFormatter is like an enum class, but not. It associates ICMP type strings with ICMP type integers and vice versa. Is device specific.
METHODS
as_string( <ICMP type number> )
Returns a name for the given ICMP type.
as_integer( <ICMP type name> )
Returns the ICMP type number for the given ICMP type name.
COPYRIGHT AND LICENCE
Farly::ASA::ICMPFormatter Copyright (C) 2012 Trystan Johnson
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.