Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

anyevent::xmpp::testclient(3pm) [debian man page]

AnyEvent::XMPP::TestClient(3pm) 			User Contributed Perl Documentation			   AnyEvent::XMPP::TestClient(3pm)

NAME
AnyEvent::XMPP::TestClient - XMPP Test Client for tests SYNOPSIS
DESCRIPTION
This module is a helper module to ease the task of testing. If you want to run the developer test suite you have to set the environment variable "NET_XMPP2_TEST" to something like this: NET_XMPP2_TEST="test_me@your_xmpp_server.tld:secret_password" Most tests will try to connect two accounts, so please take a server that allows two connections from the same IP. If you also want to run the MUC tests (see AnyEvent::XMPP::Ext::MUC) you also need to setup the environment variable "NET_XMPP2_TEST_MUC" to contain the domain of a MUC service: NET_XMPP2_TEST_MUC="conference.your_xmpp_server.tld" If you see some tests fail and want to know more about the protocol flow you can enable the protocol debugging output by setting "NET_XMPP2_TEST_DEBUG" to '1': NET_XMPP2_TEST_DEBUG=1 (NOTE: You will only see the output of this by running a single test) If one of the tests takes longer than the preconfigured 20 seconds default timeout in your setup you can set "NET_XMPP2_TEST_TIMEOUT": NET_XMPP2_TEST_TIMEOUT=60 # for a 1 minute timeout CLEANING UP
If the tests went wrong somewhere or you interrupted the tests you might want to delete the accounts from the server manually, then run: perl t/z_*_unregister.t MANUAL TESTING
If you just want to run a single test yourself, just execute the register test before doing so: perl t/z_00_register.t And then you could eg. run: perl t/z_03_iq_auth.t METHODS
new (%args) Following arguments can be passed in %args: AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>" COPYRIGHT &; LICENSE Copyright 2007, 2008 Robin Redeker, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-23 AnyEvent::XMPP::TestClient(3pm)

Check Out this Related Man Page

AnyEvent::XMPP::Ext::Pubsub(3pm)			User Contributed Perl Documentation			  AnyEvent::XMPP::Ext::Pubsub(3pm)

NAME
AnyEvent::XMPP::Ext::Pubsub - Implements XEP-0060: Publish-Subscribe SYNOPSIS
my $con = AnyEvent::XMPP::Connection->new (...); $con->add_extension (my $ps = AnyEvent::XMPP::Ext::Pubsub->new); ... DESCRIPTION
This module implements all tasks of handling the publish subscribe mechanism. (partially implemented) METHODS
new This is the constructor for a pubsub object. It takes no further arguments. delete_node($con, $uri, $cb) $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to remove a node. create_node ($con, $uri, $cb) $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to create a node. subscribe_node($con, $uri, $cb) $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to retrieve items. unsubscribe_node($con, $uri, $bc)> $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to unsubscribe from a node. publish_item($con, $uri, $create_cb, $cb) $con is the connection already established, $uri is the name of the node to be created $create_cb is the callback $cb is the callback Try to publish an item. retrive_items($con, $uri, $cb) $con is the connection already established, $uri is the name of the node to be created $cb is the callback Try to retrieve items. retrive_item($con, $uri, $id, $cb) $con is the connection already established, $uri is the name of the node to be created $id is the id of the entry to be retrieved $cb is the cb Try to retrieve item. AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>" CONTRIBUTORS
Chris Miceli - additional work on the pubsub extension COPYRIGHT &; LICENSE Copyright 2007, 2008 Robin Redeker, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-23 AnyEvent::XMPP::Ext::Pubsub(3pm)
Man Page