NAME

POE::Component::Client::NRPE::SSLify - Makes using NRPE SSL in the world of POE easy!

SYNOPSIS

Client-side usage

# Import the module
use POE::Component::Client::NRPE::SSLify qw( Client_SSLify );

# Create a normal SocketFactory wheel or something
my $factory = POE::Wheel::SocketFactory->new( ... );

# Converts the socket into a SSL socket POE can communicate with
eval { $socket = Client_SSLify( $socket ) };
if ( $@ ) {
	# Unable to SSLify it...
}

# Now, hand it off to ReadWrite
my $rw = POE::Wheel::ReadWrite->new(
	Handle	=>	$socket,
	...
);

# Use it as you wish...

ABSTRACT

Makes NRPE SSL use in POE a breeze!

DESCRIPTION

This is a hack of POE::Component::SSLify to support NRPE's SSL negotitation which uses TLSv1 and DH ciphers.

FUNCTIONS

Client_SSLify

Accepts a socket, returns a brand new socket SSLified

SEE ALSO

POE

Net::SSLeay

AUTHOR

Apocalypse <apocal@cpan.org>

PROPS

	Original code is entirely Rocco Caputo ( Creator of POE ) -> I simply
	packaged up the code into something everyone could use and accepted the burden
	of maintaining it :)

	From the PoCo::Client::HTTP code =]
	# TODO - This code should probably become a POE::Kernel method,
    	# seeing as it's rather baroque and potentially useful in a number
    	# of places.

COPYRIGHT AND LICENSE

Copyright 2007 by Apocalypse/Rocco Caputo

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