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

_ClassType IMAP4_stream

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)
 
open(self, host=None, port=None)
Setup a stream connection.
 
read(self, size)
Read 'size' bytes from remote.
 
readline(self)
Read line from remote.
 
send(self, data)
Send data to remote.
 
shutdown(self)
Close I/O established in "open".

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

Class Variables [hide private]

Inherited from IMAP4: mustquote

Method Details [hide private]

__init__(self, command)
(Constructor)

 
Overrides: IMAP4.__init__

open(self, host=None, port=None)

 
Setup a stream connection.
This connection will be used by the routines:
    read, readline, send, shutdown.

Overrides: IMAP4.open

read(self, size)

 

Read 'size' bytes from remote.

Overrides: IMAP4.read

readline(self)

 

Read line from remote.

Overrides: IMAP4.readline

send(self, data)

 

Send data to remote.

Overrides: IMAP4.send

shutdown(self)

 

Close I/O established in "open".

Overrides: IMAP4.shutdown