newTakes 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.
Field accessorsEach subclass extends these accessors, but they share in common the following:
parse_payloadPerforms the parsing of the 'payload' binary data.
to_raw_payloadReturns the binary data the represents this frame's payload.
to_raw_frameReturns a raw binary string representing this frame on the wire.
type_stringReturns a string that uniquely represents this frame type, such as 'Method Basic.Consume', 'Header Basic' or 'Body'
COPYRIGHTCopyright (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.
AUTHOREric Waters <[email protected]>