Class t.p.p.TimeoutMixin:

Part of twisted.protocols.policies View Source View In Hierarchy

Known subclasses: twisted.mail.imap4.IMAP4Client, twisted.mail.imap4.IMAP4Server, twisted.mail.pop3.AdvancedPOP3Client, twisted.mail.pop3.POP3, twisted.mail.smtp.SMTP, twisted.mail.smtp.SMTPClient, twisted.protocols.ftp.FTP, twisted.protocols.memcache.MemCacheProtocol, twisted.protocols.postfix.PostfixTCPMapServer, twisted.web.http.HTTPChannel, twisted.web2.channel.http.HTTPChannel, twisted.web2.client.http.HTTPClientProtocol (hide last 9 again) ... and 9 more

Mixin for protocols which wish to timeout connections
Class VariablestimeOutThe number of seconds after which to timeout the connection.
Line # Kind Name Docs
593 Method callLater Undocumented
597 Method resetTimeout Reset the timeout count down
602 Method setTimeout Change the timeout period
627 Method timeoutConnection Called when the connection times out.
623 Method __timedOut Undocumented
def callLater(self, period, func): (source)
Undocumented
def resetTimeout(self): (source)
Reset the timeout count down
def setTimeout(self, period): (source)
Change the timeout period
ParametersperiodThe period, in seconds, to change the timeout to, or None to disable the timeout. (type: int or NoneType )
def __timedOut(self): (source)
Undocumented
def timeoutConnection(self): (source)
Called when the connection times out. Override to define behavior other than dropping the connection.
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.