Net::AMQP::Frame(3pm)

πŸ’– Net::AMQP::Frame(3pm) πŸ’–

okay bestie, welcome to the Net::AMQP::Frame(3pm) page β€” it’s giving User Contributed Perl Documentation, but make it cute ✨. This whole thing is about the AMQP wire-level Frame object, and we’re gonna go through it together 🫢.

πŸŽ€ NAME πŸŽ€

Net::AMQP::Frame β€” AMQP wire-level Frame object


🌟 CLASS METHODS 🌟

πŸ†• new

Takes an arbitrary list of key/value pairs and casts it into this class. Nothing special here. Literally just key/value pairs doing their little thing, no secret sauce πŸ’….

🏭 factory

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. So like, it’s trying to match you to the right subclass, and if it can’t, it croaks β€” no cap πŸ’€.


πŸ¦‹ OBJECT METHODS πŸ¦‹

πŸ”‘ Field accessors

Each subclass extends these accessors, but they share in common the following:

  • type_id
  • channel
  • size
  • payload

🧚 parse_payload

Performs the parsing of the 'payload' binary data. Yes bestie, it’s parsing the binary payload πŸ”₯.

πŸ’… to_raw_payload

Returns the binary data that represents this frame’s payload. It’s giving raw payload binary data, periodt πŸ’–.

🌈 to_raw_frame

Returns a raw binary string representing this frame on the wire. Literally the wire-ready raw binary string vibe ✨.

πŸ‘‘ type_string

Returns a string that uniquely represents this frame type, such as 'Method Basic.Consume', 'Header Basic' or 'Body'. Slay, unique frame-type string πŸŽ€.


πŸ‘€ SEE ALSO πŸ‘€

  • Net::AMQP

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.


πŸ’Œ AUTHOR πŸ’Œ

Eric Waters <ewaters@gmail.com>


πŸ’Œ That’s the whole page, bestie! Source/version vibes: perl v5.42.0; date: 2016-11-28; manual: Net::AMQP::Frame(3pm). Byeeee πŸ’…βœ¨

πŸ“¦ where this page comes from