QRODS
Public Member Functions | List of all members
ServerInfoClient Class Reference
Inheritance diagram for ServerInfoClient:
AbstractHTTPClient

Public Member Functions

 ServerInfoClient (QString &baseURL, QString user, QString pass, QObject *parent=0)
 ServerInfoClient::ServerInfoClient Constructor method. More...
 
bool loadServerInfo ()
 ServerInfoClient::loadServerInfo. More...
 
long long int initializeDate () const
 ServerInfoClient::initializeDate Returns initializeDate. More...
 
const QString & icatEnabled () const
 ServerInfoClient::icatEnabled Gets icatEnabled. More...
 
long long int serverBootTime () const
 ServerInfoClient::serverBootTime Gets server boot time. More...
 
const QString & relVersion () const
 ServerInfoClient::relVersion Gets iRODS version. More...
 
const QString & apiVersion () const
 ServerInfoClient::apiVersion Gets API version. More...
 
const QString & rodsZone () const
 ServerInfoClient::rodsZone Gets iRODS zone. More...
 
long long int currentServerTime () const
 ServerInfoClient::currentServerTime Gets current server time. More...
 
- Public Member Functions inherited from AbstractHTTPClient
 AbstractHTTPClient (QString &baseURL, QString user, QString pass, QObject *parent=0)
 AbstractHTTPClient::AbstractHTTPClient Constructor method. More...
 
QString baseURL ()
 AbstractHTTPClient::baseURL Returns the base URL. More...
 
void setBaseURL (QString &str)
 
void setUserName (QString &str)
 AbstractHTTPClient::setUserName Sets user name. More...
 
void setPassword (QString &str)
 AbstractHTTPClient::setPassword Sets the password. More...
 
void setContentType (QString &str)
 AbstractHTTPClient::setContentType Sets the MIME type. More...
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractHTTPClient
QByteArray doGet (QString &url)
 AbstractHTTPClient::doGet HTTP gets operation. More...
 
QByteArray doPut (QString &url, QByteArray &content)
 AbstractHTTPClient::doPut Put operation. More...
 
QByteArray doPost (QString &url, QByteArray &content)
 AbstractHTTPClient::doPost Post operation. More...
 
QByteArray doDelete (QString &url)
 AbstractHTTPClient::doDelete Delete operation. More...
 
QNetworkReply * doAsyncGet (QString &url)
 AbstractHTTPClient::doAsyncGet Asynchronous get operation. More...
 
QNetworkReply * doAsyncGet (QString &url, const char *accept)
 AbstractHTTPClient::doAsyncGet Asynchronous get operation. More...
 
void prepareRequest (QNetworkRequest &request)
 AbstractHTTPClient::prepareRequest Prepares Requests. More...
 
- Protected Attributes inherited from AbstractHTTPClient
QNetworkAccessManager * manager
 

Constructor & Destructor Documentation

ServerInfoClient::ServerInfoClient ( QString &  bURL,
QString  user,
QString  pass,
QObject *  parent = 0 
)
explicit

ServerInfoClient::ServerInfoClient Constructor method.

This is a constructor for ServerInfoClient class.

Parameters
bURLthe base URL.
parentthe parent.

Member Function Documentation

const QString & ServerInfoClient::apiVersion ( ) const

ServerInfoClient::apiVersion Gets API version.

Gets API version.

Returns
returns API version.
long long int ServerInfoClient::currentServerTime ( ) const

ServerInfoClient::currentServerTime Gets current server time.

Gets current server time.

Returns
returns current server time.
const QString & ServerInfoClient::icatEnabled ( ) const

ServerInfoClient::icatEnabled Gets icatEnabled.

Gets icatEnabled.

Returns
returns icatEnabled.
long long int ServerInfoClient::initializeDate ( ) const

ServerInfoClient::initializeDate Returns initializeDate.

Returns initializeDate.

Returns
returns initializeDate.
bool ServerInfoClient::loadServerInfo ( )

ServerInfoClient::loadServerInfo.

Loads Server information.

const QString & ServerInfoClient::relVersion ( ) const

ServerInfoClient::relVersion Gets iRODS version.

Gets iRODS version.

Returns
returns iRODS version.
const QString & ServerInfoClient::rodsZone ( ) const

ServerInfoClient::rodsZone Gets iRODS zone.

Gets iRODS zone.

Returns
returns iRODS zone.
long long int ServerInfoClient::serverBootTime ( ) const

ServerInfoClient::serverBootTime Gets server boot time.

Gets server boot time.

Returns
returns serverBootTime

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