| 1 | package Net::NATS2::Message; | ||||||||||
| 2 | |||||||||||
| 3 | 5 | ▶ | use v5.10; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 5 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 5 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | sub new { | ||||||||||
| 8 | 2 | ▶ | my $class = shift; | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 9 | 2 | return bless {@_}, $class; | |||||||||
| 10 | } | ||||||||||
| 11 | |||||||||||
| 12 | sub subject { | ||||||||||
| 13 | 1 | ▶ | my $self = shift; | ||||||||
|
Subroutine
subject: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 14 | 1 | ▶ | $self->{subject} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | 1 | return $self->{subject}; | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | sub sid { | ||||||||||
| 19 | 0 | ▶ | my $self = shift; | ||||||||
|
Subroutine
sid: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 20 | 0 | ▶ | $self->{sid} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | 0 | return $self->{sid}; | |||||||||
| 22 | } | ||||||||||
| 23 | |||||||||||
| 24 | sub reply_to { | ||||||||||
| 25 | 1 | ▶ | my $self = shift; | ||||||||
|
Subroutine
reply_to: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 26 | 1 | ▶ | $self->{reply_to} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 27 | 1 | return $self->{reply_to}; | |||||||||
| 28 | } | ||||||||||
| 29 | |||||||||||
| 30 | sub length { | ||||||||||
| 31 | 1 | ▶ | my $self = shift; | ||||||||
|
Subroutine
length: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 32 | 1 | ▶ | $self->{length} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 33 | 1 | return $self->{length}; | |||||||||
| 34 | } | ||||||||||
| 35 | |||||||||||
| 36 | sub header_length { | ||||||||||
| 37 | 1 | ▶ | my $self = shift; | ||||||||
|
Subroutine
header_length: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 38 | 1 | ▶ | $self->{header_length} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 39 | 1 | return $self->{header_length}; | |||||||||
| 40 | } | ||||||||||
| 41 | |||||||||||
| 42 | sub headers { | ||||||||||
| 43 | 1 | ▶ | my $self = shift; | ||||||||
|
Subroutine
headers: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 44 | 1 | ▶ | $self->{headers} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 45 | 1 | return $self->{headers}; | |||||||||
| 46 | } | ||||||||||
| 47 | |||||||||||
| 48 | sub data { | ||||||||||
| 49 | 3 | ▶ | my $self = shift; | ||||||||
|
Subroutine
data: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 50 | 3 | ▶ | $self->{data} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 51 | 3 | return $self->{data}; | |||||||||
| 52 | } | ||||||||||
| 53 | |||||||||||
| 54 | sub subscription { | ||||||||||
| 55 | 0 | ▶ | my $self = shift; | ||||||||
|
Subroutine
subscription: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 56 | 0 | ▶ | $self->{subscription} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 57 | 0 | return $self->{subscription}; | |||||||||
| 58 | } | ||||||||||
| 59 | |||||||||||
| 60 | 5 | 1; | |||||||||