NAME
RELP - Send messages over "Reliable Event Logging Protocol"
SYNOPSIS
use RELP;
my $relp = new RELP(
host => YYYYY,
port => XXXXX,
);
$relp->send( 'message' );
DESCRIPTION
This is very simple perl interface to sending messager over RELP protocol. It may provide reliable message sending to rsyslog server.
METHODS
new( host => .., port => .. )
Create connection to server.
Parameters:
host - server host
port - server port
Return:
RELP-based object
send( $message )
Send message to server
SEE ALSO
For more information about RELP protocol, librelp and rsyslog visit http://www.librelp.com/, http://www.rsyslog.com/.
AUTHOR
Ivan Trunaev, <itrunaev@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2010 Ivan Trunaev <itrunaev@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. That means either (a) the GNU General Public License or (b) the Artistic License.