Net::AMQP::Frame(3pm)

Net::AMQP::Frame3pm

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.

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.

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.

to_raw_payload

Returns the binary data the represents this frame's payload.

to_raw_frame

Returns a raw binary string representing this frame on the wire.

type_string

Returns a string that uniquely represents this frame type, such as 'Method Basic.Consume', 'Header Basic' or 'Body'

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–10
  3. 11
  4. 12–13

Author

Eric Waters <[email protected]>

From libnet-amqp-perl 0.06~dfsg-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.