Net::AMQP::Frame - AMQP wire-level Frame object
Takes an arbitrary list of key/value pairs and casts it into this class. Nothing
special here.
Net::AMQP::Frame->factory(
type_id => 1,
channel => 1,
payload => '',
);
Will attempt to identify a Net::AMQP::Frame subclass for further
parsing, and will croak on failure. Returns a Net::AMQP::Frame subclass
object.
Each subclass extends these accessors, but they share in common the following:
- type_id
- channel
- size
- payload
Performs the parsing of the 'payload' binary data.
Returns the binary data the represents this frame's payload.
Returns a raw binary string representing this frame on the wire.
Returns a string that uniquely represents this frame type, such as 'Method
Basic.Consume', 'Header Basic' or 'Body'
Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All
rights reserved. 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.
Eric Waters <ewaters@gmail.com>