stomp(3) [php man page]
STOMP(3) 1 STOMP(3) The Stomp class INTRODUCTION
Represents a connection between PHP and a Stomp compliant Message Broker. CLASS SYNOPSIS
Stomp Stomp Methods o public bool Stomp::abort (string $transaction_id, [array $headers]) o public bool Stomp::ack (mixed $msg, [array $headers]) o public bool Stomp::begin (string $transaction_id, [array $headers]) o public bool Stomp::commit (string $transaction_id, [array $headers]) o public Stomp::__construct ([string $broker = ini_get("stomp.default_broker_uri")], [string $username], [string $password], [array $headers]) o public bool Stomp::__destruct (void ) o public string Stomp::error (void ) o public array Stomp::getReadTimeout (void ) o public string Stomp::getSessionId (void ) o public bool Stomp::hasFrame (void ) o public stompframe Stomp::readFrame ([string $class_name = "stompFrame"]) o public bool Stomp::send (string $destination, mixed $msg, [array $headers]) o public void Stomp::setReadTimeout (int $seconds, [int $microseconds]) o public bool Stomp::subscribe (string $destination, [array $headers]) o public bool Stomp::unsubscribe (string $destination, [array $headers]) PHP Documentation Group STOMP(3)
Check Out this Related 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)