| Trees | Indices | Help |
|---|
|
|
object --+
|
BaseCachingSession --+
|
extern.log.log.Loggable --+
|
CachingSession
Caches a stream locally in a temporary file. The already cached data can be read from the session.
Can be canceled, meaning the session is not valid anymore.
Can be aborted, meaning the session will stop caching locally but is still valid.
The caching operation can be started at any moment, but the session have to receive the stream info before it can be used with a RemoteSource instance.
It can recover request failures up to MAX_RESUME_COUNT times.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
logCategory = Implementors can provide a category to log their messages under. |
|||
mimetypes = ourmimetypes.MimeTypes()
|
|||
ABORTED = 8
|
|||
BUFFERING = 2
|
|||
CACHED = 4
|
|||
CACHING = 3
|
|||
CANCELED = 7
|
|||
CLOSED = 6
|
|||
DETACHED = 5
|
|||
ERROR = 9
|
|||
PIPELINING = 0
|
|||
REQUESTING = 1
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|
After calling this method the session cannot be used anymore.
|
After calling this method the session will just stop caching and return None when trying to read. Used when pipelining is wanted. |
|
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |