NAME
Net::STOMP::Client::OO - Object Oriented support for Net::STOMP::Client
DESCRIPTION
This module provides Object Oriented support for Net::STOMP::Client.
It implements dual-purpose accessors that can be used to get or set a given object attribute. For instance:
# get the frame body
$body = $frame->body();
# set the frame body
$frame->body("...some text...");
It also implements flexible object constructors. For instance:
$frame = Net::STOMP::Client::Frame->new(
command => "MESSAGE",
body => "...some text...",
);
is equivalent to:
$frame = Net::STOMP::Client::Frame->new();
$frame->command("MESSAGE");
$frame->body("...some text...");
FUNCTIONS
This module provides the following functions and methods:
- methods(NAMES)
-
this function is used to declare the list of known attributes/methods for the current class
- new([OPTIONS])
-
this method implements the inheritable constructor described above
AUTHOR
Lionel Cons http://cern.ch/lionel.cons
Copyright CERN 2010-2012