Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module pop3 :: Class POP3 |
|
BaseProtocol
--+ |Protocol
--+ |LineOnlyReceiver
--+ |TimeoutMixin
--+ | POP3
VirtualPOP3
Method Summary | |
---|---|
_cbMailbox(self,
(interface,
avatar,
logout),
user)
| |
_ebMailbox(self,
failure)
| |
_ebUnexpected(self,
failure)
| |
_unblock(self,
_)
| |
Deferred
|
Perform authentication of an APOP login. |
Deferred
|
Perform authentication of a username/password login. |
connectionLost(self,
reason)
| |
Called when a connection is made. | |
do_APOP(self,
user,
digest)
| |
do_AUTH(self,
args)
| |
do_CAPA(self)
| |
do_DELE(self,
i)
| |
Respond with the highest message access thus far | |
do_LIST(self,
i)
| |
Perform no operation. | |
do_PASS(self,
password)
| |
do_QUIT(self)
| |
do_RETR(self,
i)
| |
do_RPOP(self,
user)
| |
Unset all deleted message flags | |
do_STAT(self)
| |
do_TOP(self,
i,
size)
| |
do_UIDL(self,
i)
| |
do_USER(self,
user)
| |
failResponse(self,
message)
| |
finishedFileTransfer(self,
lastsent)
| |
generateMagic(self)
| |
getMessageFile(self,
i)
| |
Override this for when each line is received. | |
listCapabilities(self)
| |
processCommand(self,
command,
*args)
| |
state_AUTH(self,
line)
| |
state_COMMAND(self,
line)
| |
successResponse(self,
message)
| |
transformChunk(self,
chunk)
| |
Inherited from LineOnlyReceiver | |
Protocol.dataReceived. | |
Called when the maximum line length has been reached. | |
Sends a line to the other end of the connection. | |
Inherited from Protocol | |
(Deprecated) | |
Inherited from BaseProtocol | |
Make a connection to a transport and a server. | |
Inherited from TimeoutMixin | |
Reset the timeout count down | |
Change the timeout period | |
Called when the connection times out. |
Class Variable Summary | |
---|---|
tuple |
__implements__ = (<class twisted.internet.interfaces.IPr...
|
NoneType |
_onLogout = None |
NoneType |
_userIs = None |
list |
AUTH_CMDS = ['CAPA', 'USER', 'PASS', 'APOP', 'AUTH', 'RP...
|
NoneType |
blocked = None |
NoneType |
factory = None |
int |
highest = 0 |
NoneType |
magic = None |
NoneType |
mbox = None |
NoneType |
portal = None |
str |
state = 'COMMAND'
|
NoneType |
timeOut : The number of seconds after which to timeout the connection. |
Inherited from LineOnlyReceiver | |
str |
_buffer = ''
|
str |
delimiter = '\r\n'
|
int |
MAX_LENGTH = 16384 |
Inherited from BaseProtocol | |
int |
connected = 0 |
NoneType |
transport = None |
Inherited from TimeoutMixin | |
NoneType |
_TimeoutMixin__lastReceived = None |
NoneType |
_TimeoutMixin__timeoutCall = None |
Method Details |
---|
authenticateUserAPOP(self, user, digest)Perform authentication of an APOP login.
|
authenticateUserPASS(self, user, password)Perform authentication of a username/password login.
|
connectionMade(self)Called when a connection is made. This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
|
do_LAST(self)Respond with the highest message access thus far |
do_NOOP(self)Perform no operation. Return a success code |
do_RSET(self)Unset all deleted message flags |
lineReceived(self, line)Override this for when each line is received.
|
Class Variable Details |
---|
__implements__
|
_onLogout
|
_userIs
|
AUTH_CMDS
|
blocked
|
factory
|
highest
|
magic
|
mbox
|
portal
|
state
|
timeOutThe number of seconds after which to timeout the connection.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:12 2004 | http://epydoc.sf.net |