Provided by: libdata-amf-perl_0.09+dfsg-2_all
Data::AMF::Message - AMF Message class
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->; # and return response my $response = $first_request->result($perl_object_you_want_to_return);
Data::AMF::Message is an object class for AMF Packet Message.
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.
Daisuke Murase <email@example.com>
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.