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

Module listener

source code

Here's the abstraction to the socket handling implemented.


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]
int AF_INET = 2
INET address family
int AF_INET6 = 10
INET6 address family (None if not available)
int AF_UNIX = 1
UNIX address family (None if not available)
  __package__ = 'wtf.opi'