GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::AMQP::Protocol::Base(3) User Contributed Perl Documentation Net::AMQP::Protocol::Base(3)

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

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

The class id from the specficiation.

The method id from the specification. In the case of a content <class> (such as Basic, File or Stream), method_id is 0 for the virtual ContentHeader method. This allows you to create a Header frame in much the same way you create a Method frame, but with the virtual method 'ContentHeader'. For example:

  my $header_frame = Net::AMQP::Protocol::Basic::ContentHeader->new(
    content_type => 'text/html'
  );

  print $header_frame->method_id(); # prints '0'

Contains an ordered arrayref of the fields that comprise a frame for this method. For example:

  Net::AMQP::Protocol::Channel::Open->frame_arguments([
      out_of_band => 'short_string'
  ]);

This is used by the Net::AMQP::Frame subclasses to (de)serialize raw binary data. Each of these fields are also an accessor for the class objects.

Contains the hashref that the "load_xml_spec()" call generated for this class.

Same as above, but for this method.

Returns a Net::AMQP::Frame subclass object that wraps the given object, if possible.

Net::AMQP::Protocol

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.

Eric Waters <ewaters@gmail.com>

Hey! The above document had some coding errors, which are explained below:
Around line 61:
=back without =over
2022-04-12 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.