Daisuke Murase > Data-AMF > Data::AMF::Packet

Download:
Data-AMF-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  1
View/Report Bugs
Source  

NAME ^

Data::AMF::Packet - serialize / deserialize AMF message packet

SYNOPSIS ^

        use Data::AMF::Packet
        
        my $packet = Data::AMF::Packet->deserialize($data);
        my $data   = $packet->serialize;

DESCRIPTION ^

Data::AMF::Packet provides to serialize/deserialize AMF Packet.

AMF Packet is an extended format of AMF, and is used for Flash's HTTP based Remote Procidure Call (known as Flash Remoting).

SEE ALSO ^

Data::AMF, Catalyst::Controller::FlashRemoting

METHODS ^

serialize

Serialize Data::AMF::Packet object into AMF Packet data.

deserialize($amf_packet)

Deserialize AMF Packet, and return Data::AMF::Packet object.

ACCESSORS ^

version

return AMF Packet version.

headers

return AMF Packet header objects. (ArrayRef of Data::AMF::Header)

messages

return AMF Packet Message objects. (ArrayRef of Data::AMF::Message)

AUTHOR ^

Daisuke Murase <typester@cpan.org>

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.

syntax highlighting: