Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::stomp::frame(3pm) [debian man page]

Net::Stomp::Frame(3pm)					User Contributed Perl Documentation				    Net::Stomp::Frame(3pm)

NAME
Net::Stomp::Frame - A STOMP Frame SYNOPSIS
use Net::Stomp::Frame; my $frame = Net::Stomp::Frame->new( { command => $command, headers => $headers, body => $body, } ); my $frame = Net::Stomp::Frame->parse($string); my $string = $frame->as_string; DESCRIPTION
This module encapulates a Stomp frame. Stomp is the Streaming Text Orientated Messaging Protocol (or the Protocol Briefly Known as TTMP and Represented by the symbol :ttmp). It's a simple and easy to implement protocol for working with Message Orientated Middleware from any language. Net::Stomp is useful for talking to Apache ActiveMQ, an open source (Apache 2.0 licensed) Java Message Service 1.1 (JMS) message broker packed with many enterprise features. A Stomp frame consists of a command, a series of headers and a body. For details on the protocol see <http://stomp.codehaus.org/Protocol>. METHODS
new Create a new Net::Stomp::Frame object: my $frame = Net::Stomp::Frame->new( { command => $command, headers => $headers, body => $body, } ); parse Create a new Net::Somp::Frame given a string containing the serialised frame: my $frame = Net::Stomp::Frame->parse($string); as_string Create a string containing the serialised frame representing the frame: my $string = $frame->as_string; destination Get or set the "destination" header. content_type Get or set the "content-type" header. content_length Get or set the "content-length" header. exchange Get or set the "exchange" header. message_id Get or set the "message-id" header. SEE ALSO
Net::Stomp. AUTHOR
Leon Brocard <acme@astray.com>. COPYRIGHT
Copyright (C) 2006, Leon Brocard This module is free software; you can redistribute it or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-15 Net::Stomp::Frame(3pm)

Check Out this Related Man Page

Net::EPP::Frame::Command::Update::Contact(3pm)		User Contributed Perl Documentation	    Net::EPP::Frame::Command::Update::Contact(3pm)

NAME
Net::EPP::Frame::Command::Update::Contact - an instance of Net::EPP::Frame::Command::Update for contact objects. SYNOPSIS
use Net::EPP::Frame::Command::Update::Contact; use strict; my $info = Net::EPP::Frame::Command::Update::Contact->new; $info->setContact('REG-12345'); print $info->toString(1); This results in an XML document like this: <?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> <command> <info>REG-12345 <contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd"> <contact:id>example-1.tldE<lt>/contact:id> </contact:update> </info> <clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt> </command> </epp> OBJECT HIERARCHY
L<XML::LibXML::Node> +----L<XML::LibXML::Document> +----L<Net::EPP::Frame> +----L<Net::EPP::Frame::Command> +----L<Net::EPP::Frame::Command::Update> +----L<Net::EPP::Frame::Command::Update::Contact> METHODS
$frame->setContact($id); This specifies the contact object to be updated. $frame->addStatus($type, $info); Add a status of $type with the optional extra $info. $frame->remStatus($type); Remove a status of $type. $frame->chgAuthinfo($auth); Change the authinfo. AUTHOR
CentralNic Ltd (http://www.centralnic.com/). COPYRIGHT
This module is (c) 2012 CentralNic Ltd. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
o Net::EPP::Frame perl v5.14.2 2012-04-23 Net::EPP::Frame::Command::Update::Contact(3pm)
Man Page