- SEE ALSO
- COPYRIGHT AND LICENSE
XAS::Lib::Pipe - Interact with named pipes
use XAS::Lib::Pipe; my $client = XAS::Lib::Pipe->new( -fifo => File('/var/lib/xas/pipe'), -filter => POE::Filter::Line->new(), -eol => "\n", ); $server->run();
The module provides a POE based framework for reading and writing to named pipes.
This initializes the module and starts listening on the pipe. The following parametrs are used:
The name of the POE session.
The name of the pipe to interact with.
An optional filter to use, defaults to POE::Filter::Line
An optional EOL, defaults to "\n";
This method will process the input from the client. It takes the following parameters:
This method will process the output from the client. It takes the following parameters:
This method will process the error output from the client. It takes the following parameters:
Kevin L. Esteb, <firstname.lastname@example.org>
Copyright (c) 2012-2016 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.