| 1 | package Net::OSCAR::Callbacks; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $Net::OSCAR::Callbacks::VERSION = '1.928'; | |
| 4 | } | ||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 0 | ▶ | sub { |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 9 | |||
| 10 | 0 | $session->{__old_loglevel} = $session->loglevel(); | |
| 11 | 0 | $session->loglevel(10); | |
| 12 | 0 | $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."); | |
| 13 | 0 | $connection->log_print(OSCAR_DBG_WARN, "Migration families sent: ", join(" ", keys %{$connection->{families}})); | |
| 14 | $connection->proto_send(protobit => "pause_ack", protodata => { | ||
| 15 | 0 | families => [keys %{$connection->{families}}] | |
| 16 | }); | ||
| 17 | 0 | $connection->pause(); | |
| 18 | |||
| 19 | 1 | }; | |