Package muntjac :: Package ui :: Module upload
[hide private]
[frames] | no frames]

Module upload

source code

For uploading files from client to server.

Classes [hide private]
  IStartedListener
Receives the events when the upload starts.
  IFinishedListener
Receives the events when the uploads are ready.
  IFailedListener
Receives events when the uploads are finished, but unsuccessful.
  ISucceededListener
Receives events when the uploads are successfully finished.
  IProgressListener
IProgressListener receives events to track progress of upload.
  Upload
IComponent for uploading files from client to server.
  InnerStreamVariable
  IReceiver
Interface that must be implemented by the upload receivers to provide the Upload component an output stream to write the uploaded data.
  FinishedEvent
Upload.FinishedEvent is sent when the upload receives a file, regardless of whether the reception was successful or failed.
  FailedEvent
Upload.FailedEvent event is sent when the upload is received, but the reception is interrupted for some reason.
  NoOutputStreamEvent
FailedEvent that indicates that an output stream could not be obtained.
  NoInputStreamEvent
FailedEvent that indicates that an input stream could not be obtained.
  SucceededEvent
Upload.SucceededEvent event is sent when the upload is received successfully.
  StartedEvent
Upload.StartedEvent event is sent when the upload is started to received.
Functions [hide private]
 
_UPLOAD_FINISHED_METHOD(self, event)
Upload has finished.
source code
 
_UPLOAD_FAILED_METHOD(self, event)
Upload has finished unsuccessfully.
source code
 
_UPLOAD_STARTED_METHOD(self, event)
Upload has started.
source code
 
_UPLOAD_SUCCEEDED_METHOD(self, event)
Upload successfull..
source code
Variables [hide private]
  __package__ = 'muntjac.ui'
Function Details [hide private]

_UPLOAD_FINISHED_METHOD(self, event)

source code 

Upload has finished.

Parameters:
  • event - the Upload finished event.

_UPLOAD_FAILED_METHOD(self, event)

source code 

Upload has finished unsuccessfully.

Parameters:
  • event - the Upload failed event.

_UPLOAD_STARTED_METHOD(self, event)

source code 

Upload has started.

Parameters:
  • event - the Upload started event.

_UPLOAD_SUCCEEDED_METHOD(self, event)

source code 

Upload successfull..

Parameters:
  • event - the Upload successful event.