1Net::STOMP::Client::PeeUrs(e3r)Contributed Perl DocumentNaetti:o:nSTOMP::Client::Peer(3)
2
3
4

NAME

6       Net::STOMP::Client::Peer - Peer support for Net::STOMP::Client
7

SYNOPSIS

9         use Net::STOMP::Client;
10         $stomp = Net::STOMP::Client->new(host => "127.0.0.1", port => 61613);
11         ...
12         $peer = $stomp->peer();
13         if ($peer) {
14             # we are indeed connected to a STOMP server
15             printf("server uri is %s\n", $peer->uri());
16         }
17

DESCRIPTION

19       This module provides peer support for Net::STOMP::Client.
20
21       It is used to keep track of information about the STOMP server
22       Net::STOMP::Client is connected to.
23

METHODS

25       This module provides the following methods to get information:
26
27       proto()
28           protocol
29
30       host()
31           host name or address
32
33       port()
34           port name or number
35
36       addr()
37           host numerical IP address
38
39       uri()
40           URI in the form "PROTO://HOST:PORT"
41

AUTHOR

43       Lionel Cons <http://cern.ch/lionel.cons>
44
45       Copyright CERN 2010-2011
46
47
48
49perl v5.12.3                      2011-05-10       Net::STOMP::Client::Peer(3)
Impressum