1Net::AMQP::Frame(3)   User Contributed Perl Documentation  Net::AMQP::Frame(3)
2
3
4

NAME

6       Net::AMQP::Frame - AMQP wire-level Frame object
7

CLASS METHODS

9   new
10       Takes an arbitrary list of key/value pairs and casts it into this
11       class.  Nothing special here.
12
13   factory
14         Net::AMQP::Frame->factory(
15           type_id => 1,
16           channel => 1,
17           payload => '',
18         );
19
20       Will attempt to identify a Net::AMQP::Frame subclass for further
21       parsing, and will croak on failure.  Returns a Net::AMQP::Frame
22       subclass object.
23

OBJECT METHODS

25   Field accessors
26       Each subclass extends these accessors, but they share in common the
27       following:
28
29       type_id
30       channel
31       size
32       payload
33
34   parse_payload
35       Performs the parsing of the 'payload' binary data.
36
37   to_raw_payload
38       Returns the binary data the represents this frame's payload.
39
40   to_raw_frame
41       Returns a raw binary string representing this frame on the wire.
42
43   type_string
44       Returns a string that uniquely represents this frame type, such as
45       'Method Basic.Consume', 'Header Basic' or 'Body'
46

SEE ALSO

48       Net::AMQP
49
51       Copyright (c) 2009 Eric Waters and XMission LLC
52       (http://www.xmission.com/).  All rights reserved.  This program is free
53       software; you can redistribute it and/or modify it under the same terms
54       as Perl itself.
55
56       The full text of the license can be found in the LICENSE file included
57       with this module.
58

AUTHOR

60       Eric Waters <ewaters@gmail.com>
61
62
63
64perl v5.36.0                      2022-07-22               Net::AMQP::Frame(3)
Impressum