Class Stomp::Message
In: lib/stomp/message.rb
Parent: Object

Message is a container class for frames. Misnamed technically.

Methods

empty?   is_blank?   new   to_s  

Attributes

body  [RW]  The message Body.
command  [RW]  The COMMAND value.
headers  [RW]  The Headers Hash.
original  [RW]  The original input(s).

Public Class methods

initialize returns a Message from a raw physical frame.

Public Instance methods

empty? tests if a Message has any blank parts.

is_blank? tests if a data value is nil or empty.

to_s returns a string prepresentation of this Message.

[Validate]