imaplib.IMAP4_stream

imaplib :: IMAP4_stream :: Class IMAP4_stream |
[hide private]
[frames] | no frames]

# Class IMAP4_stream

source code

    IMAP4 --+
            |
           IMAP4_stream

    IMAP4 client class over a stream

    Instantiate with: IMAP4_stream(command)

            where "command" is a string that can be passed to os.popen2()

    for more documentation see the docstring of the parent class IMAP4.

Nested Classes | [hide private]
Inherited from `IMAP4`: `abort`, `error`, `readonly`

Instance Methods | [hide private]
__init__(self, command) | source code
open(self, host=global_settings.applications_parent, port=global_settings.applications_parent) Setup a stream connection. | source code
read(self, size) Read 'size' bytes from remote. | source code
readline(self) Read line from remote. | source code
send(self, data) Send data to remote. | source code
shutdown(self) Close I/O established in "open". | source code
Inherited from `IMAP4`: `__getattr__`, `append`, `authenticate`, `capability`, `check`, `close`, `copy`, `create`, `delete`, `deleteacl`, `expunge`, `fetch`, `getacl`, `getannotation`, `getquota`, `getquotaroot`, `list`, `login`, `login_cram_md5`, `logout`, `lsub`, `myrights`, `namespace`, `noop`, `partial`, `print_log`, `proxyauth`, `recent`, `rename`, `response`, `search`, `select`, `setacl`, `setannotation`, `setquota`, `socket`, `sort`, `status`, `store`, `subscribe`, `thread`, `uid`, `unsubscribe`, `xatom` Inherited from `IMAP4` (private): `_CRAM_MD5_AUTH`, `_append_untagged`, `_check_bye`, `_checkquote`, `_command`, `_command_complete`, `_dump_ur`, `_get_line`, `_get_response`, `_get_tagged_response`, `_log`, `_match`, `_mesg`, `_new_tag`, `_quote`, `_simple_command`, `_untagged_response`

Class Variables | [hide private]
Inherited from `IMAP4`: `mustquote`

Method Details | [hide private]

### __init__(self, command) (Constructor) | source code
Overrides: IMAP4.__init__

### open(self, host=global_settings.applications_parent, port=global_settings.applications_parent) | source code
    Setup a stream connection.
    This connection will be used by the routines:
        read, readline, send, shutdown.
Overrides: IMAP4.open

### read(self, size) | source code
Read 'size' bytes from remote. Overrides: IMAP4.read

### readline(self) | source code
Read line from remote. Overrides: IMAP4.readline

### send(self, data) | source code
Send data to remote. Overrides: IMAP4.send

### shutdown(self) | source code
Close I/O established in "open". Overrides: IMAP4.shutdown