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

NAME

Net::Jabber::Dialback - Jabber Dialback Module

SYNOPSIS

  Net::Jabber::Dialback is a companion to the Net::Jabber::Server
  module.  It provides the user a simple interface to set and retrieve
  all parts of a Jabber Server Dialback.

DESCRIPTION

  To initialize the Dialback with a Jabber <db:*/> you must pass it 
  the XML::Parser Tree array.  For example:

    my $dialback = new Net::Jabber::Dialback(@tree);

  There has been a change from the old way of handling the callbacks.
  You no longer have to do the above, a Net::Jabber::Dialback object
  is passed to the callback function for the message:

    use Net::Jabber;

    sub dialback {
      my ($DB) = @_;
      .
      .
      .
    }

  You now have access to all of the retrieval functions available.

  To create a new message to send to the server:

    use Net::Jabber;

    $DB = new Net::Jabber::Dialback("verify");
    $DB = new Net::Jabber::Dialback("result");

  Please see the specific documentation for Net::Jabber::Dialback::Result
  and Net::Jabber::Dialback::Verify

  For more information about the array format being passed to the
  CallBack please read the Net::Jabber::Client documentation.

AUTHOR

By Ryan Eatmon in January of 2001 for http://jabber.org..

COPYRIGHT

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.