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 | |
---|
1 | package Net::OSCAR::Callbacks; |
---|
2 | use strict; |
---|
3 | use warnings; |
---|
4 | use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); |
---|
5 | sub { |
---|
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.