Python Standard Library

Table of Contents

  • Ch 01 - 10
  • Ch 11 - 20
  • Ch 21 - 30
  • Ch 31 - 37
  • api
    • 06 Built-in Exceptions
    • 07 String Services
    • 08 Data Types
    • 09 Numeric and Mathematical Methods
    • 10 File and Directory Access
    • 11 Data Persistence
    • 12 Data Compression and Archiving
    • 13 File Formats
    • 14 Cryptographic Services
    • 15 Generic Operating System Services
    • 16 Optional Operating System Services
    • 17 Interprocess Communication and Networking
      • subprocess
      • socket
      • ssl
      • signal
      • popen2
      • asyncore
        • Functions
        • Classes
          • asyncore.dispatcher
            • Methods
              • asyncore.dispatcher.__getattr__
              • asyncore.dispatcher.__init__
              • asyncore.dispatcher.__repr__
              • asyncore.dispatcher.__str__
              • asyncore.dispatcher.accept
              • asyncore.dispatcher.add_channel
              • asyncore.dispatcher.bind
              • asyncore.dispatcher.close
              • asyncore.dispatcher.connect
              • asyncore.dispatcher.create_socket
              • asyncore.dispatcher.del_channel
              • asyncore.dispatcher.handle_accept
              • asyncore.dispatcher.handle_close
              • asyncore.dispatcher.handle_connect
              • asyncore.dispatcher.handle_connect_event
              • asyncore.dispatcher.handle_error
              • asyncore.dispatcher.handle_expt
              • asyncore.dispatcher.handle_expt_event
              • asyncore.dispatcher.handle_read
              • asyncore.dispatcher.handle_read_event
              • asyncore.dispatcher.handle_write
              • asyncore.dispatcher.handle_write_event
              • asyncore.dispatcher.listen
              • asyncore.dispatcher.log
              • asyncore.dispatcher.log_info
              • asyncore.dispatcher.readable
              • asyncore.dispatcher.recv
              • asyncore.dispatcher.send
              • asyncore.dispatcher.set_reuse_addr
              • asyncore.dispatcher.set_socket
              • asyncore.dispatcher.writable
            • Attributes
              • asyncore.dispatcher.accepting
              • asyncore.dispatcher.addr
              • asyncore.dispatcher.closing
              • asyncore.dispatcher.connected
              • asyncore.dispatcher.connecting
              • asyncore.dispatcher.debug
              • asyncore.dispatcher.ignore_log_types
          • asyncore.dispatcher_with_send
          • asyncore.file_dispatcher
          • asyncore.file_wrapper
        • Exceptions
      • asynchat
    • 18 Internet Data Handling
    • 19 Structured Markup Processing Tools
    • 20 Internet Protocols and Support
    • 21 Multimedia Services
    • 22 Internationalization
    • 23 Program Frameworks
    • 24 Graphical User Interfaces with Tk
    • 25 Development Tools
    • 26 Debugging and Profiling
    • 27 Software Packaging and Distribution
    • 28 Python Runtime Services
    • 29 Custom Python Interpreters
    • 30 Restricted Execution
    • 31 Importing Modules
    • 32 Python Language Services
    • 33 (depr) Python compiler package
    • 34 Miscellaneous Services
    • 35 MS Windows Specific Services
    • 36. Unix Specific Services
    • 37 Mac OS X specific services
Python Standard Library
  • Docs »
  • api »
  • asyncore »
  • asyncore.dispatcher
  • View page source

asyncore.dispatcher¶

class asyncore.dispatcher(sock=None, map=None)[source]¶

Methods¶

__getattr__(attr)
__init__([sock, map])
__repr__()
__str__()
accept()
add_channel([map])
bind(addr)
close()
connect(address)
create_socket(family, type)
del_channel([map])
handle_accept()
handle_close()
handle_connect()
handle_connect_event()
handle_error()
handle_expt()
handle_expt_event()
handle_read()
handle_read_event()
handle_write()
handle_write_event()
listen(num)
log(message)
log_info(message[, type])
readable()
recv(buffer_size)
send(data)
set_reuse_addr()
set_socket(sock[, map])
writable()

Attributes¶

accepting
addr
closing
connected
connecting
debug
ignore_log_types
Next Previous

© Copyright 2016.

Built with Sphinx using a theme provided by Read the Docs.