Package muntjac :: Package ui :: Module drag_and_drop_wrapper :: Class ReceivingEventWrapper
[hide private]
[frames] | no frames]

Class ReceivingEventWrapper

source code

                                  object --+        
                                           |        
    terminal.stream_variable.IStreamingEvent --+    
                                               |    
   terminal.stream_variable.IStreamingErrorEvent --+
                                                   |
                                  object --+       |
                                           |       |
    terminal.stream_variable.IStreamingEvent --+   |
                                               |   |
     terminal.stream_variable.IStreamingEndEvent --+
                                                   |
                                  object --+       |
                                           |       |
    terminal.stream_variable.IStreamingEvent --+   |
                                               |   |
   terminal.stream_variable.IStreamingStartEvent --+
                                                   |
                                  object --+       |
                                           |       |
    terminal.stream_variable.IStreamingEvent --+   |
                                               |   |
terminal.stream_variable.IStreamingProgressEvent --+
                                                   |
                                                  ReceivingEventWrapper

Instance Methods [hide private]
 
__init__(self, e, fd, receiver)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getMimeType(self)
Returns: the mime type of the streamed file if known
source code
 
getFileName(self)
Returns: the file name of the streamed file if known
source code
 
getContentLength(self)
Returns: the length of the stream (in bytes) if known, else -1
source code
 
getReceiver(self) source code
 
getException(self)
Returns: the exception that caused the receiving not to finish cleanly
source code
 
getBytesReceived(self)
Returns: then number of bytes streamed to IStreamVariable
source code
 
disposeStreamVariable(self)
Calling this method has no effect.
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, e, fd, receiver)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getMimeType(self)

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

getFileName(self)

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

getContentLength(self)

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

getException(self)

source code 
Returns:
the exception that caused the receiving not to finish cleanly
Overrides: terminal.stream_variable.IStreamingErrorEvent.getException
(inherited documentation)

getBytesReceived(self)

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

disposeStreamVariable(self)

source code 

Calling this method has no effect. DD files are receive only once anyway.

Overrides: terminal.stream_variable.IStreamingStartEvent.disposeStreamVariable