Package muntjac :: Package terminal :: Package gwt :: Package server :: Module abstract_streaming_event :: Class AbstractStreamingEvent
[hide private]
[frames] | no frames]

Class AbstractStreamingEvent

source code

                     object --+    
                              |    
stream_variable.IStreamingEvent --+
                                  |
                                 AbstractStreamingEvent
Known Subclasses:

Abstract base class for IStreamingEvent implementations.

Instance Methods [hide private]
 
__init__(self, filename, typ, length, bytesReceived)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getFileName(self)
Returns: the file name of the streamed file if known
source code
 
getMimeType(self)
Returns: the mime type of the streamed file if known
source code
 
getContentLength(self)
Returns: the length of the stream (in bytes) if known, else -1
source code
 
getBytesReceived(self)
Returns: then number of bytes streamed to IStreamVariable
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename, typ, length, bytesReceived)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getFileName(self)

source code 
Returns:
the file name of the streamed file if known
Overrides: stream_variable.IStreamingEvent.getFileName
(inherited documentation)

getMimeType(self)

source code 
Returns:
the mime type of the streamed file if known
Overrides: stream_variable.IStreamingEvent.getMimeType
(inherited documentation)

getContentLength(self)

source code 
Returns:
the length of the stream (in bytes) if known, else -1
Overrides: stream_variable.IStreamingEvent.getContentLength
(inherited documentation)

getBytesReceived(self)

source code 
Returns:
then number of bytes streamed to IStreamVariable
Overrides: stream_variable.IStreamingEvent.getBytesReceived
(inherited documentation)