Package wtf :: Package opi :: Module listener
[hide private]
[frames] | no frames]

Module listener

source code


:Copyright:

 Copyright 2006 - 2014
 André Malo or his licensors, as applicable

:License:

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

=================
 Listener Socket
================

All listening sockets are represented by this single abstraction.

:Variables:
  `AF_INET` : ``int``
    INET address family

  `AF_INET6` : ``int``
    INET6 address family (``None`` if not available)

  `AF_UNIX` : ``int``
    UNIX address family (``None`` if not available)


Author: André Malo

Classes [hide private]
  ShutdownWarning
Socket shutdown failures
  ListenerWarning
Duplicate listener detected
  SocketError
Socket error
  SocketTimeout
Socket timeout
  SocketPollError
Socket poll error
  ListenerSocket
Abstraction to the listener socket
  SocketDecorator
Socket decorating container
  UnixSocket
Decorator for UNIX domain sockets
  InetSocket
Decorator for TCP/IP(v6) sockets
  Acceptor
Acceptor for multiple connections
  _AdapterInterface
Adapter poll API to select implementation
  _SelectAdapter
  _PollAdapter
Variables [hide private]
  AF_INET = 2
  AF_INET6 = 10
  AF_UNIX = 1
  __package__ = 'wtf.opi'