|
NAMENet::STOMP::Client::Peer - Peer support for Net::STOMP::Client 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());
}
DESCRIPTIONThis 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. METHODSThis module provides the following methods:
SEE ALSONet::STOMP::Client. AUTHORLionel Cons <http://cern.ch/lionel.cons> Copyright (C) CERN 2010-2021
|