1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
package Munin::Node::Session;
use warnings;
use strict;
sub new {
my ($class) = @_;
my $self = {
tls_started => 0,
peer_address => '',
capabilities => {},
};
return bless $self, $class;
}
1;
__END__
=head1 NAME
Munin::Node::Session - Stores the state for the session between a node
and a master.
=head1 SYNOPSIS
$session = Munin::Node::Session->new();
$session->{capabilities} = { foo => 1, bar => 1};
=head1 METHODS
=over
=item B<new>
$class->new();
Constructor.
=back
|