source: perl/modules/AIM/lib/Net/OSCAR/Callbacks/1/pause.pm @ 7a1c90d

barnowl_perlaim
Last change on this file since 7a1c90d was 7a1c90d, checked in by Geoffrey Thomas <geofft@mit.edu>, 16 years ago
Skeleton AIM module, and Net::OSCAR 1.925
  • Property mode set to 100644
File size: 721 bytes
Line 
1package Net::OSCAR::Callbacks;
2use strict;
3use warnings;
4use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data);
5sub {
6
7$session->{__old_loglevel} = $session->loglevel();
8$session->loglevel(10);
9$connection->log_print(OSCAR_DBG_WARN, "Server initiated migration.  Migration support is experimental.  Please tell matthewg\@zevils.com that this happened and whether or not it worked!  Include the information below.");
10$connection->log_print(OSCAR_DBG_WARN, "Migration families sent: ", join(" ", keys %{$connection->{families}}));
11$connection->proto_send(protobit => "pause_ack", protodata => {
12        families => [keys %{$connection->{families}}]
13});
14$connection->pause();
15
16};
Note: See TracBrowser for help on using the repository browser.