MagicSmoke  $VERSION$
MTDeleteHost Class Reference

Deletes a host from which users can log in. If the host has been used, then users will lose the ability to log in from it. More...

#include <srcMTDeleteHost.h>

Inheritance diagram for MTDeleteHost:
MTransaction

Public Member Functions

 MTDeleteHost ()
 default constructor: generates an invalid transaction More...
 
 MTDeleteHost (const MTDeleteHost &)
 copy constructor: the two copies share their state More...
 
virtual ~MTDeleteHost ()
 deletes this instance More...
 
MTDeleteHostoperator= (const MTDeleteHost &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTDeleteHost asyncQuery (const QString &aname, QString iface="MagicSmoke")
 emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state More...
 
static MTDeleteHost query (const QString &aname, QString iface="MagicSmoke")
 emits the query over the network and returns the finished transaction object More...
 
- Static Public Member Functions inherited from MTransaction
static void setStartStopActions (const MTStartStop &start, const MTStartStop &stop)
 set actions to be executed at start/stop More...
 

Protected Member Functions

 MTDeleteHost (const QString &aname, QString iface)
 generates an instance from its properties More...
 
virtual void endQuery ()
 
- Protected Member Functions inherited from MTransaction
 MTransaction (QString iface=QString())
 internal: construct the transaction More...
 
 MTransaction (const WTransaction &)
 internal: copy the transaction More...
 
 MTransaction (const MTransaction &)
 internal: copy the transaction More...
 
QByteArray executeQuery (QString, QByteArray)
 internal: extend executeQuery to show a wait cursor More...
 

Friends

class MTDeleteHost_Private
 

Detailed Description

Deletes a host from which users can log in. If the host has been used, then users will lose the ability to log in from it.

Constructor & Destructor Documentation

MTDeleteHost::MTDeleteHost ( const QString &  aname,
QString  iface 
)
explicitprotected

generates an instance from its properties

Parameters
aname
ifaceID of the interface that the transaction will be sent on

References MTDeleteHost_Private::in_name, and MTDeleteHost_Private.

MTDeleteHost::MTDeleteHost ( )

default constructor: generates an invalid transaction

References MTDeleteHost_Private.

MTDeleteHost::MTDeleteHost ( const MTDeleteHost t)

copy constructor: the two copies share their state

References MTDeleteHost_Private::attach().

MTDeleteHost::~MTDeleteHost ( )
virtual

deletes this instance

References MTDeleteHost_Private::detach().

Member Function Documentation

MTDeleteHost MTDeleteHost::asyncQuery ( const QString &  aname,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state

Parameters
aname
ifaceID of the interface that the transaction will be sent on
void MTDeleteHost::endQuery ( )
protectedvirtual
MTDeleteHost & MTDeleteHost::operator= ( const MTDeleteHost t)

copy assignment: the copy shares the state of the original object

References MTDeleteHost_Private::attach(), and MTDeleteHost_Private::detach().

MTDeleteHost MTDeleteHost::query ( const QString &  aname,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the finished transaction object

Parameters
aname
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::queryDeleteHost().

Friends And Related Function Documentation

friend class MTDeleteHost_Private
friend

Referenced by MTDeleteHost().


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