NAME

MojoX::HandleRun - IO::Handle wrapper with some emulated socket-like behaviour for Mojo::IOLoop compatibility.

SYNOPSIS

my $h = MojoX::HandleRun->new();

OBJECT CONSTRUCTOR

new ()

Constructor accepts the same arguments as IO::Handle constructor. See IO::Handle for details.

METHODS

This class inherits all methods from IO::Handle.

connected ()

This method is just wrapper around opened() method found in IO::Handle.

peerhost ()

Always returns empty string.

peerport ()

Always returns -1.

SEE ALSO

IO::Handle

AUTHOR

"Brane F. Gracnar", <"bfg at frost.ath.cx">

LICENSE AND COPYRIGHT

Copyright 201, Brane F. Gracnar.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.