SYNOPSIS
use Data::AMF::Packet;
# get message
my $packet = Data::AMF::Packet->deserialize($amf_packet);
my $messages = $packet->messages;
# do something about it
my $first_request = $messages->[0];
# and return response
my $response = $first_request->result($perl_object_you_want_to_return);
DESCRIPTION
Data::AMF::Message is an object class for AMF Packet Message.METHODS
new
Create new Data::AMF::Message object.result($result)
Return normal response AMF Message object against current request of AMF Message.error($error)
Return error response AMF Message object against current request of AMF Message.AUTHOR
Daisuke Murase <[email protected]>COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.The full text of the license can be found in the LICENSE file included with this module.