MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
Request Class Referenceabstract

#include <requests.h>

Inheritance diagram for Request:
CancelJobRequest CreateDirectoryRequest DeleteDirectoryRequest DeleteFileRequest GetDirectoryListingRequest GetJobsForHostForUserByNumDaysRequest GetStreamingFileDownloadURLRequest GetStreamingFileUploadURLRequest GetUserHostAssocRequest StatFileRequest SubmitBatchScriptJobRequest

Public Slots

void submit ()
 
qint64 hostId () const
 
void setHostId (qint64 id)
 
QString userName () const
 
void setUserName (const QString &user)
 

Signals

void finished ()
 
void error (const QString &errorString)
 

Public Member Functions

 Request (Session *session, QObject *parentObject=0)
 

Protected Slots

void finished (KDSoapJob *job)
 

Protected Member Functions

virtual KDSoapJob * createJob ()=0
 

Protected Attributes

Sessionm_session
 
KDSoapMessage m_response
 
qint64 m_hostID
 
QString m_userName
 

Detailed Description

Abstract base class of all UIT SOAP requests.

Constructor & Destructor Documentation

Request ( Session session,
QObject *  parentObject = 0 
)
Parameters
sessionThe UIT session.
parentObjectThe parent object.

Member Function Documentation

void submit ( )
slot

Slot used to submit request to UIT server.

qint64 hostId ( ) const
slot
Returns
the host ID of the UIT host this request is associated with.
void setHostId ( qint64  id)
slot
Parameters
idThe host ID.
QString userName ( ) const
slot
Returns
The user name this request is associated with.
void setUserName ( const QString &  user)
slot
Parameters
userThe user name this request should be associated with.
void finished ( )
signal

Emitted when this request is completed.

void error ( const QString &  errorString)
signal

Emitted is an error occurs.

Parameters
errorStringThe error message.
virtual KDSoapJob* createJob ( )
protectedpure virtual
void finished ( KDSoapJob *  job)
protectedslot

Slot called by KDSoap when the SOAP request is complete.

Parameters
jobThe SOAP request that just completed.

The documentation for this class was generated from the following file: