line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PLS::Server::Request::Client::RegisterCapability; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
54
|
use strict; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
219
|
|
4
|
9
|
|
|
9
|
|
45
|
use warnings; |
|
9
|
|
|
|
|
25
|
|
|
9
|
|
|
|
|
271
|
|
5
|
|
|
|
|
|
|
|
6
|
9
|
|
|
9
|
|
44
|
use parent 'PLS::Server::Request'; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
45
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
PLS::Server::Request::Client::RegisterCapability |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 DESCRIPTION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
This is a message from the server to the client requesting that |
15
|
|
|
|
|
|
|
a new capability be registered. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This request must be sent for capabilities that cannot be registered for statically. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub new |
22
|
|
|
|
|
|
|
{ |
23
|
5
|
|
|
5
|
0
|
22
|
my ($class, $registrations) = @_; |
24
|
|
|
|
|
|
|
|
25
|
5
|
|
|
|
|
68
|
my %self = ( |
26
|
|
|
|
|
|
|
method => 'client/registerCapability', |
27
|
|
|
|
|
|
|
params => { |
28
|
|
|
|
|
|
|
registrations => $registrations |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
5
|
|
|
|
|
97
|
return bless \%self, $class; |
33
|
|
|
|
|
|
|
} ## end sub new |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |