The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Protocol::XMPP::Stream - handle XMPP protocol stream

VERSION

Version 0.006

METHODS

authorise

Authorise a contact by sending a 'subscribed' presence response.

subscribe

Request subscription for a contact by sending a 'subscribe' presence response.

unsubscribe

Reject or unsubscribe a contact by sending an 'unsubscribed' presence response.

INHERITED METHODS

Protocol::XMPP::Base

debug, dispatch_event, is_authorised, is_loggedin, new, new_future, next_id, stream, write_text, write_xml

Mixin::Event::Dispatch

add_handler_for_event, clear_event_handlers, event_handlers, invoke_event, subscribe_to_event, unsubscribe_from_event

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself.