| 1 | package PLS::Server::Request; | ||
| 2 | |||
| 3 | 13 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 13 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 13 | ▶ | use parent 'PLS::Server::Message'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | PLS::Server::Request | ||
| 11 | |||
| 12 | =head1 DESCRIPTION | ||
| 13 | |||
| 14 | This class represents a request. The request can originate on the server or the client. | ||
| 15 | If the request originates on the server and a response is expected, | ||
| 16 | the C<handle_response> method should be implemented. | ||
| 17 | |||
| 18 | =cut | ||
| 19 | |||
| 20 | sub new | ||
| 21 | 17 | ▶ | { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 22 | 17 | my ($class, $request) = @_; | |
| 23 | |||
| 24 | 17 | return bless $request, $class; | |
| 25 | } | ||
| 26 | |||
| 27 | sub service | ||
| 28 | 0 | ▶ | { |
|
Subroutine
service: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 29 | 0 | my ($self, $server) = @_; | |
| 30 | 0 | return; | |
| 31 | } | ||
| 32 | |||
| 33 | sub handle_response | ||
| 34 | 0 | ▶ | { |
|
Subroutine
handle_response: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 35 | 0 | my ($self, $response, $server) = @_; | |
| 36 | |||
| 37 | 0 | return; | |
| 38 | } | ||
| 39 | |||
| 40 | 13 | 1; | |