SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-FUSE-Server rpm build for : OpenSuSE. For other distributions click perl-FUSE-Server.

Name : perl-FUSE-Server
Version : 1.19 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.7.1 Date : 2023-07-20 15:31:18
Group : Development/Libraries/Perl Source RPM : perl-FUSE-Server-1.19-lp155.7.1.src.rpm
Size : 0.01 MB
Packager : https://www_suse_com/
Summary : Perl-FUSE server
Description :
The \'FUSE::Server\' module will create a TCP FUSE server and dispatch
messages to registered event handlers.

The external interface to \'FUSE::Server\' is:

* $s = FUSE::Server->new( [%options] );

The object constructor takes the following arguments in the options hash:

*Quiet = 0|1*

Whether to be quiet. Default is to report all events to STDOUT (not
\'Quiet\').

*Port = n*

The port for the server to listen on. Default is 1024.

*MaxClients = n*

Maximum incoming connections to allow. Default is SOMAXCONN.

* $s->bind();

This method starts the server listening on it\'s port and returns the IP
which it is listening on.

* $s->addCallback( $message, $coderef );

This method registers the referenced subroutine as a handler for the
specified message. When the server receives that message from the client,
it checks it\'s handler hash and dispatches the decoded message to the sub.
The sub should handle the following arguments:

\'( $userid, $msg, $params )\'

$userid contains the internal connection id for the client session. You can
use this id to associate logins with clients. The $msg parameter contains
the message the client sent. This allows one routine to handle more than
one message. Messages from clients are typically uppercase, with lowercase
messages being reserved for internal server events, such as client
connect/disconnect. The available internal messages are:

*client_start*

This message is sent when a client first connects. It is typically used to
issue a _SECRET_KEY_ message to the client.

*client_stop*

This message is sent when a client disconnects.

* $s->defaultCallback( $coderef );

For all messages without an assigned handler, the default handler (if set)
is sent the message. If you\'d like to handle all messages internally, then
setup \'defaultCallback\' without setting up any normal \'addCallback\'\'s.

* $s->stop();

This method shuts down the server gracefully. Since the \'start\' method
loops forever, the \'stop\' method is generally set up to run on a signal.

* $s->start();

This method invokes the server\'s internal message pump. This loop can only
be broken by a signal.

* $s->send( $userid, $message, $params );

This method sends a message to a single client.

* $s->sendAll( $message, $params );

This method broadcasts a message to all clients.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-F/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-FUSE-Server-1.19-lp155.7.1.noarch.rpm
     

Provides :
perl(FUSE::Server)
perl-FUSE-Server

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/FUSE
/usr/lib/perl5/vendor_perl/5.26.1/FUSE/Server.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-FUSE-Server
/usr/share/doc/packages/perl-FUSE-Server/Changes
/usr/share/doc/packages/perl-FUSE-Server/README
/usr/share/doc/packages/perl-FUSE-Server/examples
/usr/share/doc/packages/perl-FUSE-Server/examples/server.pl
/usr/share/man/man3/FUSE::Server.3pm.gz

 
ICM