Net::XMPP2::IM::Account - Instant messaging account
my $cl = Net::XMPP2::IM::Client->new; ... my $acc = $cl->get_account ($jid);
This module represents a class for IM accounts. It is used by Net::XMPP2::Client.
You can get an instance of this class only by calling the get_account method on a Net::XMPP2::Client object.
get_account
Returns the Net::XMPP2::IM::Connection object if this account already has one (undef otherwise).
Returns true if this accunt is connected.
Returns either the full JID if the account is connected or returns the bare jid if not.
Returns always the bare JID of this account after stringprep has been applied, so you can compare the JIDs returned from this function.
Your nickname for this account.
This method sends the Net::XMPP2::IM::Message object in $msg. The to attribute of the message is adjusted by the conversation tracking mechanism.
$msg
to
Robin Redeker, <elmex at ta-sa.org>, JID: <elmex at jabber.org>
<elmex at ta-sa.org>
<elmex at jabber.org>
Copyright 2007 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.
To install Net::XMPP2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::XMPP2
CPAN shell
perl -MCPAN -e shell install Net::XMPP2
For more information on module installation, please visit the detailed CPAN module installation guide.