NAME
IOMux::Handler::Service - any mux service
INHERITANCE
IOMux::Handler::Service
is a IOMux::Handler
IOMux::Handler::Service is extended by
IOMux::Service::TCP
SYNOPSIS
# only use extensions
DESCRIPTION
This base-class defines what interface services provide. A service is (in the general case) a socket which is listening to incoming connections)
Extends "DESCRIPTION" in IOMux::Handler.
METHODS
Extends "METHODS" in IOMux::Handler.
Constructors
Extends "Constructors" in IOMux::Handler.
- IOMux::Handler::Service->new(OPTIONS)
-
Inherited, see "Constructors" in IOMux::Handler
- IOMux::Handler::Service->open(MODE, WHAT, OPTIONS)
-
Inherited, see "Constructors" in IOMux::Handler
Accessors
Extends "Accessors" in IOMux::Handler.
- $obj->fh()
-
Inherited, see "Accessors" in IOMux::Handler
- $obj->fileno()
-
Inherited, see "Accessors" in IOMux::Handler
- $obj->mux()
-
Inherited, see "Accessors" in IOMux::Handler
- $obj->name()
-
Inherited, see "Accessors" in IOMux::Handler
- $obj->usesSSL()
-
Inherited, see "Accessors" in IOMux::Handler
User interface
Extends "User interface" in IOMux::Handler.
Multiplexer
Extends "Multiplexer" in IOMux::Handler.
Connection
Extends "Connection" in IOMux::Handler.
- $obj->mux_init( MUX, [HANDLER] )
-
Inherited, see "Connection" in IOMux::Handler
- $obj->mux_remove()
-
Inherited, see "Connection" in IOMux::Handler
- $obj->mux_timeout()
-
Inherited, see "Connection" in IOMux::Handler
Reading
Extends "Reading" in IOMux::Handler.
- $obj->mux_except_flagged(FILENO)
-
Inherited, see "Reading" in IOMux::Handler
- $obj->mux_read_flagged(FILENO)
-
Inherited, see "Reading" in IOMux::Handler
Writing
Extends "Writing" in IOMux::Handler.
- $obj->mux_write_flagged(FILENO)
-
Inherited, see "Writing" in IOMux::Handler
Service
Extends "Service" in IOMux::Handler.
- $obj->mux_connection(CLIENT)
-
A new connection has arrived on the file-handle (socket) where we are listening on. The connection has been accepted and the filehandle of the new CLIENT has been added to the MUX. You may wish to send an initial string.
Helpers
Extends "Helpers" in IOMux::Handler.
- $obj->extractSocket(HASH)
- IOMux::Handler::Service->extractSocket(HASH)
-
Inherited, see "Helpers" in IOMux::Handler
- $obj->fdset(STATE, READ, WRITE, ERROR)
-
Inherited, see "Helpers" in IOMux::Handler
- $obj->show()
-
Inherited, see "Helpers" in IOMux::Handler
SEE ALSO
This module is part of IOMux distribution version 0.13, built on July 21, 2015. Website: http://perl.overmeer.net/ All modules in this suite: "Any::Daemon", "IOMux", and "IOMux::HTTP".
Please post questions or ideas to perl@overmeer.net
LICENSE
Copyrights 2011-2015 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html