Net::Clacks::Client - client for CLACKS interprocess messaging
use Net::Clacks::Client;
This implements the client network protocol for the CLACKS interprocess messaging. This is used a lot in Maplat projects to let different processes (workers, webgui, MaplatSVC) communicate with each other
Create a new instance.
Reconnect to the CLACKS server when something went wrong.
Process incoming and outpoing messages.
Send a PING (keepalive) packet.
Temporarly disable auto-disconnects by the server (NOPING command). Useful before doing something with indeterminate length (long running functions and such).
NOTIFY other clients via CLACKS that an event happened.
SET a value for a CLACKS variable to other clients.
LISTEN to specific NOTIFY and SET events.
Stop listening to specific NOTIFY and SET events.
Enable/Disable monitor mode. When enabled, the server sends all events it sees as DEBUG events (events LISTENed to also get send the normal way).
Get server name and version.
Get the next incoming event in the queue.
Automatically closes the connection.
Rene Schickbauer, <cavac@cpan.org>
Copyright (C) 2008-2018 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Net::Clacks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Clacks
CPAN shell
perl -MCPAN -e shell install Net::Clacks
For more information on module installation, please visit the detailed CPAN module installation guide.