Public Member Functions | Protected Slots | Protected Attributes | List of all members
pqAlwaysConnectedBehavior Class Reference

pqAlwaysConnectedBehavior ensures that the client always remains connected to a server. More...

#include <pqAlwaysConnectedBehavior.h>

Inherits QObject.

Collaboration diagram for pqAlwaysConnectedBehavior:
Collaboration graph
[legend]

Public Member Functions

 pqAlwaysConnectedBehavior (QObject *parent=nullptr)
 
 ~pqAlwaysConnectedBehavior () override
 
void setDefaultServer (const pqServerResource &resource)
 Get/Set the default server resource to connect to. More...
 
const pqServerResourcedefaultServer () const
 

Protected Slots

void serverCheck ()
 

Protected Attributes

pqServerResource DefaultServer
 
pqTimer Timer
 

Detailed Description

pqAlwaysConnectedBehavior ensures that the client always remains connected to a server.

Definition at line 18 of file pqAlwaysConnectedBehavior.h.

Constructor & Destructor Documentation

◆ pqAlwaysConnectedBehavior()

pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior ( QObject *  parent = nullptr)

◆ ~pqAlwaysConnectedBehavior()

pqAlwaysConnectedBehavior::~pqAlwaysConnectedBehavior ( )
override

Member Function Documentation

◆ setDefaultServer()

void pqAlwaysConnectedBehavior::setDefaultServer ( const pqServerResource resource)
inline

Get/Set the default server resource to connect to.

Definition at line 30 of file pqAlwaysConnectedBehavior.h.

◆ defaultServer()

const pqServerResource& pqAlwaysConnectedBehavior::defaultServer ( ) const
inline

Definition at line 31 of file pqAlwaysConnectedBehavior.h.

◆ serverCheck

void pqAlwaysConnectedBehavior::serverCheck ( )
protectedslot

Member Data Documentation

◆ DefaultServer

pqServerResource pqAlwaysConnectedBehavior::DefaultServer
protected

Definition at line 37 of file pqAlwaysConnectedBehavior.h.

◆ Timer

pqTimer pqAlwaysConnectedBehavior::Timer
protected

Definition at line 38 of file pqAlwaysConnectedBehavior.h.


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