GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::STOMP::CLIENT::PEER (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



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



DESCRIPTION

This module is used internally by Net::STOMP::Client before connection and also afterwards to expose information about the STOMP server that the client is connected to.

METHODS

This module provides the following methods:
new([OPTIONS]) return a new Net::STOMP::Client::Peer object (class method)
proto([STRING]) get the protocol
host([STRING]) get the host name or address
port([STRING]) get the port number
addr([STRING]) get the host numerical IP address
uri() get the host URI in the form PROTO://HOST:PORT

SEE ALSO

Net::STOMP::Client.

AUTHOR

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

Copyright (C) CERN 2010-2013

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::STOMP::CLIENT::PEER (3) 2013-11-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.