Package timedrive :: Package background :: Module testconnectionurl :: Class TestConnectionUrl
[frames] | no frames]

Class TestConnectionUrl


Class to check a connection url. Provides feedback to the user whether the connection is valid or not.

Nested Classes

Inherited from PyQt4.QtCore.QThread: Priority

Instance Methods
 
__init__(self, parent=None)
Initialization function for TestConnectionUrl
 
__del__(self)
 
TestUrl(self, archiveUrl, S3_LoginInfo=None)
test a giving archive url in normal mode
 
run(self)
Tests the archive_url to see if it is valid.

Inherited from backgroundtask.BackgroundTask: questionPrompt, setupTaskProgress, start, taskComplete, taskError, toggleControls, updateTaskProgress

Inherited from PyQt4.QtCore.QThread: currentThread, currentThreadId, exec_, exit, finished, idealThreadCount, isFinished, isRunning, msleep, priority, quit, setPriority, setStackSize, setTerminationEnabled, sleep, stackSize, started, terminate, terminated, usleep, wait, yieldCurrentThread

Inherited from PyQt4.QtCore.QObject: blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from sip.simplewrapper: __delattr__, __getattribute__, __new__, __setattr__

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from PyQt4.QtCore.QThread: HighPriority, HighestPriority, IdlePriority, InheritPriority, LowPriority, LowestPriority, NormalPriority, TimeCriticalPriority

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties

Inherited from backgroundtask.BackgroundTask: default_message, restart, stop, task_name

Inherited from object: __class__

Method Details

__init__(self, parent=None)
(Constructor)

 

Initialization function for TestConnectionUrl

Parameters:
  • parent (BackgroundTask Object)
Overrides: object.__init__

TestUrl(self, archiveUrl, S3_LoginInfo=None)

 

test a giving archive url in normal mode

Parameters:
  • archiveUrl (String) - the url of the selected archive
  • S3_LoginInfo (tulp as string) - default = None:

run(self)

 

Tests the archive_url to see if it is valid.

Overrides: PyQt4.QtCore.QThread.run