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::ASYNC::XMPP::PROTOCOL (3)

.ds Aq ’

NAME

Net::Async::XMPP::Protocol - common protocol support for Net::Async::XMPP

CONTENTS

VERSION

Version 0.003

METHODS

    xmpp

Accessor for the underyling XMPP Protocol::XMPP::Stream object.

    configure

Configure our handlers.

    on_starttls

Upgrade the underlying stream to use TLS.

    on_read

Proxy incoming data through to the underlying Protocol::XMPP::Stream.

    connect



 $protocol->connect(
   on_connected => sub { warn "connected!" },
   host         => talk.google.com,
 )



Establish a connection to the XMPP server.

All available arguments are listed above. on_connected gets passed the underlying protocol object.

    srv_lookup

Performs a SRV lookup for the given domain and type.

This should resolve to a list of (host, port) arrayrefs, in decreasing order of preference.



 $proto->srv_lookup(example.com, xmpp-client)->on_done(sub {
  printf "Service available at %s:%d\n", @$_ for @_;
 });



AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::ASYNC::XMPP::PROTOCOL (3) 2014-08-04

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