perl-AnyEvent-Connection-0.06-alt1.noarch.rpm


Advertisement

Description

perl-AnyEvent-Connection - Base class for tcp connectful clients

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-AnyEvent-Connection
Package version: 0.06
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 19.40 KB
Download size: 19.40 KB
Official Mirror: ftp.altlinux.org
package MyTCPClient; use base 'AnyEvent::Connection'; package main; my $client = MyTCPClient->new( host => 'localhost', port => 12345, ); $client->reg_cb( connected => sub { my ($client,$connection,$host,$port) = @_; $client->after( $interval, sub { } ); } connfail = sub { my ($client,$reason) = @_; }, disconnect => sub { my ($client,$reason) = @_; }, error => sub { my ($client,$error) = @_; }, ); $client->connect;

Alternatives

Provides

  • perl(AnyEvent/Connection.pm) = 0.060
  • perl(AnyEvent/Connection/Raw.pm)
  • perl(AnyEvent/Connection/Util.pm)
  • perl-AnyEvent-Connection = 0.06-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-AnyEvent-Connection rpm package:
      # sudo apt-get install perl-AnyEvent-Connection

    Files

    • /usr/share/doc/perl-AnyEvent-Connection-0.06/Changes
    • /usr/share/doc/perl-AnyEvent-Connection-0.06/LICENSE
    • /usr/share/doc/perl-AnyEvent-Connection-0.06/README
    • /usr/share/perl5/AnyEvent/Connection.pm
    • /usr/share/perl5/AnyEvent/Connection/Raw.pm
    • /usr/share/perl5/AnyEvent/Connection/Util.pm
    Advertisement
    Advertisement