NAME

Net::TacacsPlus::Packet::AccountReplyBody - Tacacs+ accounting reply body

DESCRIPTION

The accounting REPLY packet body

The response to an accounting message is used to  indicate  that  the
accounting   function  on  the  daemon  has  completed  and  securely
committed the record. This provides  the  client  the  best  possible
guarantee that the data is indeed logged.



      1 2 3 4 5 6 7 8  1 2 3 4 5 6 7 8  1 2 3 4 5 6 7 8  1 2 3 4 5 6 7 8

     +----------------+----------------+----------------+----------------+
     |         server_msg len          |            data len             |
     +----------------+----------------+----------------+----------------+
     |     status     |         server_msg ...
     +----------------+----------------+----------------+----------------+
     |     data ...
     +----------------+

METHODS

new( somekey => somevalue)

Construct tacacs+ authorization response body object

Parameters:

'raw_body' : raw body

or

status     : status of the reply
server_msg : message from server
data       : payload 
decode($raw_data)

Extract status, server_msg and data from raw packet.

raw()

returns binary representation of Accounting Reply Body