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


Net-AMQP documentation  | view source Contained in the Net-AMQP distribution.

Index


NAME

Top

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

CLASS METHODS

Top

new (...)

Takes an arbitrary list of key/value pairs and casts it into this class. Nothing special here.

factory (...)

Pass in 'type_id', 'channel' and '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

Top

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'

SEE ALSO

Top

Net::AMQP

COPYRIGHT

Top

AUTHOR

Top

Eric Waters <ewaters@gmail.com>


Net-AMQP documentation  | view source Contained in the Net-AMQP distribution.