Net::STOMP::Client::OO.3pm

Langue: en

Version: 2010-03-01 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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...");
 
 

AUTHOR

Lionel Cons <http://cern.ch/lionel.cons>