NAME
Sys::Async::Virt::Connection::TCP - Connection to LibVirt server over TCP sockets
VERSION
v0.6.0
SYNOPSIS
use v5.26;
use Future::AsyncAwait;
use Sys::Async::Virt::Connection::Factory;
my $factory = Sys::Async::Virt::Connection::Factory->new;
my $conn = $factory->create_connection( 'qemu+tcp:///system' );
DESCRIPTION
This module connects to a remote LibVirt server through a TCP socket. This transport uses plain unencrypted TCP connection to libvirt, is insecure and should not be used.
This module requires Future::IO::Resolver to operate fully asynchronous; in case this module is unavailable, the getaddrinfo function from Socket is used - which is a blocking function call.
URL PARAMETERS
This connection driver does not support any additional parameters, as per LibVirt's documentation.
CONSTRUCTOR
new
Not to be called directly. Instantiated via the connection factory (Sys::Async::Virt::Connection::Factory).
METHODS
connect
await $conn->connect;
is_secure
my $bool = $conn->is_secure;
Returns false.
SEE ALSO
LICENSE AND COPYRIGHT
Copyright (C) 2024-2026 Erik Huelsmann
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.