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
Protocol::XMPP::Base(3) User Contributed Perl Documentation Protocol::XMPP::Base(3)

Protocol::XMPP::Base - base class for Protocol::XMPP

Version 0.006

Constructor. Stores all parameters on $self, including the top level stack item as parent.

Helper method for displaying a debug message. Only displayed if the debug flag was passed to configure.

Convert an arrayref to an XML fragment.

Input such as the following:

 [ 'iq', type => 'set', id => 'xyz', _content => [ [ 'session', _ns => 'xmpp-session' ] ] ]

would be converted to:

 <iq type=>'set' id=>'xyz'><session xmlns='...:xmpp-session'/></iq>

The following methods are proxied to the Protocol::XMPP::Stream class via stream.

Accessor for the loggedin state - will call the appropriate on_(login|logout) event when changing state.

Write XML reference to stream.

Write XML reference to stream.

Pass through an event (on_XXX handler).

Returns the active Protocol::XMPP::Stream object.

Returns the next ID for to use in outgoing messages.

Tom Molesworth <cpan@entitymodel.com>

Copyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself.
2014-08-04 perl v5.32.1

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

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