1Net::AMQP::Protocol::BaUssee(r3)Contributed Perl DocumenNteatt:i:oAnMQP::Protocol::Base(3)
2
3
4

NAME

6       Net::AMQP::Protocol::Base - Base class of auto-generated protocol
7       classes
8

DESCRIPTION

10       See "load_xml_spec" in Net::AMQP::Protocol for how subclasses to this
11       class are auto-generated.
12

CLASS METHODS

14   class_id
15       The class id from the specficiation.
16
17   method_id
18       The method id from the specification.  In the case of a content <class>
19       (such as Basic, File or Stream), method_id is 0 for the virtual
20       ContentHeader method.  This allows you to create a Header frame in much
21       the same way you create a Method frame, but with the virtual method
22       'ContentHeader'.  For example:
23
24         my $header_frame = Net::AMQP::Protocol::Basic::ContentHeader->new(
25           content_type => 'text/html'
26         );
27
28         print $header_frame->method_id(); # prints '0'
29
30   frame_arguments
31       Contains an ordered arrayref of the fields that comprise a frame for
32       this method.  For example:
33
34         Net::AMQP::Protocol::Channel::Open->frame_arguments([
35             out_of_band => 'short_string'
36         ]);
37
38       This is used by the Net::AMQP::Frame subclasses to (de)serialize raw
39       binary data.  Each of these fields are also an accessor for the class
40       objects.
41
42   class_spec
43       Contains the hashref that the "load_xml_spec()" call generated for this
44       class.
45
46   method_spec
47       Same as above, but for this method.
48

OBJECT METHODS

50   frame_wrap
51       Returns a Net::AMQP::Frame subclass object that wraps the given object,
52       if possible.
53

SEE ALSO

55       Net::AMQP::Protocol
56
58       Copyright (c) 2009 Eric Waters and XMission LLC
59       (http://www.xmission.com/).  All rights reserved.  This program is free
60       software; you can redistribute it and/or modify it under the same terms
61       as Perl itself.
62
63       The full text of the license can be found in the LICENSE file included
64       with this module.
65

AUTHOR

67       Eric Waters <ewaters@gmail.com>
68

POD ERRORS

70       Hey! The above document had some coding errors, which are explained
71       below:
72
73       Around line 61:
74           =back without =over
75
76
77
78perl v5.32.1                      2021-01-27      Net::AMQP::Protocol::Base(3)
Impressum