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.
Variables [hide private]
  _UPLOAD_FINISHED_METHOD = getattr(IFinishedListener, 'uploadFi...
  _UPLOAD_FAILED_METHOD = getattr(IFailedListener, 'uploadFailed')
  _UPLOAD_STARTED_METHOD = getattr(IStartedListener, 'uploadStar...
  _UPLOAD_SUCCEEDED_METHOD = getattr(ISucceededListener, 'upload...
Variables Details [hide private]

_UPLOAD_FINISHED_METHOD

Value:
getattr(IFinishedListener, 'uploadFinished')

_UPLOAD_STARTED_METHOD

Value:
getattr(IStartedListener, 'uploadStarted')

_UPLOAD_SUCCEEDED_METHOD

Value:
getattr(ISucceededListener, 'uploadSucceeded')