NAME

IPC::Manager::Base::FS - Base class for filesystem based protocols

DESCRIPTION

This is the base class for filesystem based message stores and protocols.

METHODS

See IPC::Manager::Client for inherited methods

FS SPECIFIC

$bool = $con->check_path($path)

Check if a path is a valid client path, what that means is protocol specific.

$con->clear_pid

Remove the pid from the pidfile, marking the client inactive.

$bool = $con->have_resume_file

Check if we have a resume file. A resume file is where re-queued messages go.

$con->make_path($path)

Create the path for the client. What this means is protocol specific.

$path = $con->path

Get the proper path for the client.

$string = $con->path_type

Returns a human readable name for what types of files/etc the paths should be.

$file = $con->peer_pid_file($peer_name)

Get the path to the pidfile for the peer of the given name.

$file = $con->pidfile

Get the pidfile for the connection.

@messages = $con->read_resume_file

Get any messages from the resume file, then delete the file.

$file = $con->resume_file

Get the resume file for the connection.

$file = $con->stats_file

Get the stats file for the connection.

$con->write_pid

Write the pidfile for the connection.

SOURCE

The source code repository for IPC::Manager can be found at https://https://github.com/exodist/IPC-Manager.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See https://dev.perl.org/licenses/